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/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();