From c0c2a0ccc335b00983bf69b99b7a44505ed24b47 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 12 Nov 2010 14:43:49 +0000 Subject: made core::Entity::entity_shape a private attribute --- src/game/base/jumppoint.cc | 2 +- src/game/base/navpoint.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/base') 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); -- cgit v1.2.3