Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-16 16:32:38 +0000
committerStijn Buys <ingar@osirion.org>2009-08-16 16:32:38 +0000
commit95cc140404c6524ea16e193e1421e826b239114f (patch)
tree3b4b2bf3ab9f4ee948192c1b37f265fe9127c21b /src/game/base/star.cc
parent6f00effd8f95ad8698d077e6c21426b00d1d02b1 (diff)
more constness, initial patchDef2 support in MapFile, reverse engine disables impulse drive, r_axis support
Diffstat (limited to 'src/game/base/star.cc')
-rw-r--r--src/game/base/star.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/base/star.cc b/src/game/base/star.cc
index fa5dc32..ba3ccba 100644
--- a/src/game/base/star.cc
+++ b/src/game/base/star.cc
@@ -14,9 +14,9 @@ Star::Star() : core::EntityGlobe(core::Entity::Static | core::Entity::Solid | co
{
set_flag(core::Entity::ShowOnMap);
- entity_color.assign(1,1,1,1);
- entity_color_second.assign(1,1,1,1);
- entity_radius = 96; // 96 game units
+ get_color().assign(1.0f, 1.0f);
+ get_color_second().assign(1.0f, 1.0f);
+ set_radius(96.0f);
entity_moduletypeid = star_enttype;
}