From 89c0bc88bd4ebdc44dfb99235609c90e968af533 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 15 Nov 2009 14:20:13 +0000 Subject: added core::Info id, changed network info message, updated entity network message to include the info id --- src/game/base/shipmodel.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/base/shipmodel.cc') diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc index 4f219eb..dacc5a6 100644 --- a/src/game/base/shipmodel.cc +++ b/src/game/base/shipmodel.cc @@ -16,10 +16,8 @@ namespace game core::InfoType *ShipModel::shipmodel_infotype = 0; -ShipModel::ShipModel() +ShipModel::ShipModel() : core::Info(shipmodel_infotype) { - set_type(shipmodel_infotype); - //default specifications shipmodel_acceleration = 1.0f; // thruster acceleration in game untits/second^2 shipmodel_maxspeed = 3.0f; // maximum thruster speed in game units/second -- cgit v1.2.3