[Fix] Should probably clear those thrusters upon initilization. :D
This commit is contained in:
parent
3c064b4e5a
commit
15f17e08e5
@ -34,7 +34,7 @@ Ship::Ship(ShipType::Type shipType) : RigidBody() {
|
||||
m_tempLaserGeom[i] = 0;
|
||||
m_gunState[i] = 0;
|
||||
}
|
||||
|
||||
memset(m_thrusters, 0, sizeof(m_thrusters));
|
||||
const ShipType& stype = GetShipType();
|
||||
SetGeomFromSBREModel(stype.sbreModel, ¶ms);
|
||||
dGeomSetBody(m_geom, m_body);
|
||||
|
Loading…
Reference in New Issue
Block a user