Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/ship.cc2
-rw-r--r--src/game/star.cc2
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