Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-05 17:45:30 +0000
committerStijn Buys <ingar@osirion.org>2008-05-05 17:45:30 +0000
commitc11c0174ece92b4502648ad33653975bfdfc39a0 (patch)
tree88860bfcbb7206834e61533af79f7631b5638cb2 /src/game
parent7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff)
lights with entity color, sunlight, network stats
Diffstat (limited to 'src/game')
-rw-r--r--src/game/star.cc2
-rw-r--r--src/game/star.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/star.cc b/src/game/star.cc
index 1d154fe..0a12593 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 | core::Entity::Bright)
+Star::Star() : core::EntityGlobe(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
diff --git a/src/game/star.h b/src/game/star.h
index e953f3c..ecc7ade 100644
--- a/src/game/star.h
+++ b/src/game/star.h
@@ -17,7 +17,7 @@
namespace game {
/// a star, that shines so bright
-class Star : public core::Entity {
+class Star : public core::EntityGlobe {
public:
Star();
~Star();