diff --git a/src/ship.cpp b/src/ship.cpp index 62189ad..f2bc78a 100644 --- a/src/ship.cpp +++ b/src/ship.cpp @@ -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);