diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-13 22:17:40 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-13 22:17:40 +0000 |
commit | ce6459b4588c2ac61f0cf57045324a8e27e34f41 (patch) | |
tree | 3b76532c410c71987ce19f414edef2ccb09560c4 /src/game/base/faction.cc | |
parent | c86b4142ff8adc8fc14f58d603b116dfd8ea6515 (diff) |
corrected a bug where faction or template secondary color was not applied
Diffstat (limited to 'src/game/base/faction.cc')
-rw-r--r-- | src/game/base/faction.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/faction.cc b/src/game/base/faction.cc index 6fb70cf..0220d3d 100644 --- a/src/game/base/faction.cc +++ b/src/game/base/faction.cc @@ -130,7 +130,7 @@ void Faction::apply(core::Entity *entity) const entity->set_color(color()); // set secondary color - entity->set_color(color()); + entity->set_color_second(color_second()); } } // namespace game |