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/base')
-rw-r--r--src/game/base/jumppoint.cc2
-rw-r--r--src/game/base/navpoint.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/jumppoint.cc b/src/game/base/jumppoint.cc
index 5b9a75f..82ed489 100644
--- a/src/game/base/jumppoint.cc
+++ b/src/game/base/jumppoint.cc
@@ -14,7 +14,7 @@ namespace game
JumpPoint::JumpPoint() : core::EntityDynamic()
{
- entity_shape = core::Entity::Diamond;
+ set_shape(core::Entity::Diamond);
get_color().assign(0.0f, 0.8f, 0.8f, 1.0f);
get_color_second().assign(0.6f, 1.0f);
set_radius(0.25f);
diff --git a/src/game/base/navpoint.cc b/src/game/base/navpoint.cc
index 2c76807..f7d6046 100644
--- a/src/game/base/navpoint.cc
+++ b/src/game/base/navpoint.cc
@@ -14,7 +14,7 @@ const Template *NavPoint::navpoint_template = 0;
NavPoint::NavPoint() : core::Entity()
{
- entity_shape = core::Entity::Diamond;
+ set_shape(core::Entity::Diamond);
get_color().assign(1.0f, 1.0f);
get_color_second().assign(0.6f, 1.0f);
set_radius(0.25f);