[Fix] Should probably clear those thrusters upon initilization. :D

This commit is contained in:
Allanis 2017-11-19 00:13:28 +00:00
parent 7bd0b17cb7
commit 411e82b6ef

View File

@ -34,7 +34,7 @@ Ship::Ship(ShipType::Type shipType) : RigidBody() {
m_tempLaserGeom[i] = 0; m_tempLaserGeom[i] = 0;
m_gunState[i] = 0; m_gunState[i] = 0;
} }
memset(m_thrusters, 0, sizeof(m_thrusters));
const ShipType& stype = GetShipType(); const ShipType& stype = GetShipType();
SetGeomFromSBREModel(stype.sbreModel, &params); SetGeomFromSBREModel(stype.sbreModel, &params);
dGeomSetBody(m_geom, m_body); dGeomSetBody(m_geom, m_body);