Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ship.cc')
-rw-r--r--src/game/ship.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/ship.cc b/src/game/ship.cc
index 1ef4b9d..d6333cd 100644
--- a/src/game/ship.cc
+++ b/src/game/ship.cc
@@ -5,7 +5,7 @@
*/
// project headers
-#include "game/shared.h"
+#include "game/game.h"
#include "game/ship.h"
#include "math/mathlib.h"
@@ -17,8 +17,10 @@ using math::degrees180f;
namespace game {
-Ship::Ship() : core::Entity(0, ship_enttype)
+Ship::Ship() : core::Entity(0)
{
+ type = ship_enttype;
+
speed = 0;
yaw_current = 0;
yaw_target = yaw_current;