diff options
Diffstat (limited to 'src/game/base/navpoint.cc')
-rw-r--r-- | src/game/base/navpoint.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/base/navpoint.cc b/src/game/base/navpoint.cc index 5dc35b2..7b48ee7 100644 --- a/src/game/base/navpoint.cc +++ b/src/game/base/navpoint.cc @@ -14,9 +14,9 @@ NavPoint::NavPoint() : core::Entity(core::Entity::Static | core::Entity::Bright) { //set_flag(core::Entity::ShowOnMap); entity_shape = core::Entity::Diamond; - entity_color.assign(1.0f, 1.0f); - entity_color_second.assign(0.6f, 1.0f); - entity_radius = 0.25f; + get_color().assign(1.0f, 1.0f); + get_color_second().assign(0.6f, 1.0f); + set_radius(0.25f); entity_moduletypeid = navpoint_enttype; } |