Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/star.cc')
-rw-r--r--src/game/star.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/star.cc b/src/game/star.cc
index 10bb6ee..0bb8fb5 100644
--- a/src/game/star.cc
+++ b/src/game/star.cc
@@ -10,13 +10,13 @@
namespace game {
-Star::Star() : core::Entity(core::entity::Static & core::entity::Solid)
+Star::Star() : core::Entity(core::Entity::Static & core::Entity::Solid)
{
- core_shape = core::entity::Sphere; // a star is a sphere
- core_color = math::Color(1,1,1,1); // white
- core_radius = 48; // 48 game units
+ entity_shape = core::Entity::Sphere; // a star is a sphere
+ entity_color = math::Color(1,1,1,1); // white
+ entity_radius = 48; // 48 game units
- type = star_enttype;
+ entity_moduletypeid = star_enttype;
}
Star::~Star()