From 411e82b6ef5747d54b23fd9266435b6a74053b88 Mon Sep 17 00:00:00 2001 From: Allanis <allanis.saracraft.studios@gmail.com> Date: Sun, 19 Nov 2017 00:13:28 +0000 Subject: [PATCH] [Fix] Should probably clear those thrusters upon initilization. :D --- src/ship.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);