From 95cc140404c6524ea16e193e1421e826b239114f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Aug 2009 16:32:38 +0000 Subject: more constness, initial patchDef2 support in MapFile, reverse engine disables impulse drive, r_axis support --- src/game/base/jumppoint.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/game/base/jumppoint.cc') diff --git a/src/game/base/jumppoint.cc b/src/game/base/jumppoint.cc index e489055..9017f1c 100644 --- a/src/game/base/jumppoint.cc +++ b/src/game/base/jumppoint.cc @@ -15,13 +15,13 @@ namespace game JumpPoint::JumpPoint() : core::EntityDynamic(core::Entity::Bright) { entity_shape = core::Entity::Diamond; - entity_color.assign(0.0f, 0.8f, 0.8f, 1.0f); - entity_color_second.assign(0.6f, 1.0f); - entity_radius = 0.25f; + get_color().assign(0.0f, 0.8f, 0.8f, 1.0f); + get_color_second().assign(0.6f, 1.0f); + set_radius(0.25f); entity_moduletypeid = jumppoint_enttype; jumppoint_target = 0; - entity_serverside = false; + set_serverside(false); } JumpPoint::~JumpPoint() @@ -78,8 +78,8 @@ JumpGate::JumpGate() : JumpPoint() { unset_flag(core::Entity::Bright); set_flag(core::Entity::ShowOnMap); + set_radius(1.0f); - entity_radius = 1.0f; entity_moduletypeid = jumpgate_enttype; entity_state = core::Entity::NoPower; } -- cgit v1.2.3