Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-12 18:24:36 +0000
committerStijn Buys <ingar@osirion.org>2008-11-12 18:24:36 +0000
commitdd16796ac3ef352a5ff404373b568dd00ef74936 (patch)
tree7796dfc6bcfce41bc7b0bc986ca2e8bf3d230e69 /src/game
parent70f4455bd0f887477d027b85c8f2ead3d56eecfe (diff)
add star corona
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/star.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/base/star.cc b/src/game/base/star.cc
index ecf403e..b68b202 100644
--- a/src/game/base/star.cc
+++ b/src/game/base/star.cc
@@ -12,7 +12,8 @@ namespace game {
Star::Star() : core::EntityGlobe(core::Entity::Static | core::Entity::Solid | core::Entity::Bright)
{
- entity_color = math::Color(1,1,1,1); // white
+ entity_color.assign(1,1,1,1);
+ entity_color_second.assign(1,1,1,1);
entity_radius = 96; // 96 game units
entity_moduletypeid = star_enttype;