diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-16 22:36:04 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-16 22:36:04 +0000 |
commit | cb52e5bd8da01ab2e7976fcd8bfc34e190265ed5 (patch) | |
tree | 3645b53d64ca6e6068537c18efc5c9bab7673e5b /src/game | |
parent | 7d7b9324f1f0db14648fb9fe32256d7942af77b9 (diff) |
r_drawradius
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/ship.cc | 2 | ||||
-rw-r--r-- | src/game/star.cc | 2 |
2 files changed, 3 insertions, 1 deletions
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 |