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/planet.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/base/planet.cc') diff --git a/src/game/base/planet.cc b/src/game/base/planet.cc index 60885b1..b1ac976 100644 --- a/src/game/base/planet.cc +++ b/src/game/base/planet.cc @@ -14,8 +14,8 @@ Planet::Planet() : core::EntityGlobe(core::Entity::Static | core::Entity::Solid) { set_flag(core::Entity::ShowOnMap); - entity_color = math::Color(1,1,1,1); // white - entity_radius = 64; // 64 game units + get_color().assign(1.0f, 1.0f); // white + set_radius(64.0f); // 64 game units entity_moduletypeid = planet_enttype; -- cgit v1.2.3