pioneerspacesim/pioneer — pull request #709 by johnbartholomew (2011-10-21 18:32:51+00:00)
Title: LMR fixes

Fixes two more bugs introduced by #650:

* get_equipment() called without a slot index value was incorrectly handling `Equip::NONE` entries (thanks to @richardpl for finding this)
* get_equipment() was unavailable during ship collision mesh construction because the `LmrObjParams::equipment` member was not initialised early enough (this didn't come up earlier because the collision mesh generates at lod=1, and most models don't bother to check equipment for that lod level)