From cb52e5bd8da01ab2e7976fcd8bfc34e190265ed5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Mar 2008 22:36:04 +0000 Subject: r_drawradius --- src/game/ship.cc | 2 ++ src/game/star.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/ship.cc b/src/game/ship.cc index 1dd37bc..b82b7a8 100644 --- a/src/game/ship.cc +++ b/src/game/ship.cc @@ -23,6 +23,8 @@ Ship::Ship(core::Player *owner, ShipModel *shipmodel) : entity_modelname = "ships/" + shipmodel->modelname(); entity_name = shipmodel->name() + ": <" + owner->name() + ">"; ship_shipmodel = shipmodel; + + entity_moduletypeid = ship_enttype; } Ship::~Ship() diff --git a/src/game/star.cc b/src/game/star.cc index 0bb8fb5..1d154fe 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -10,7 +10,7 @@ namespace game { -Star::Star() : core::Entity(core::Entity::Static & core::Entity::Solid) +Star::Star() : core::Entity(core::Entity::Static | core::Entity::Solid | core::Entity::Bright) { entity_shape = core::Entity::Sphere; // a star is a sphere entity_color = math::Color(1,1,1,1); // white -- cgit v1.2.3