diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-09 20:04:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-09 20:04:10 +0000 |
commit | 1cd17df40fb8b36b117e47797e2783d03d911d24 (patch) | |
tree | 94e9ae2a968e6e57f1debdb55996b9b374a7ea1a /src/game/base/faction.cc | |
parent | 977a9a68d2465818a331643399a9ecc998d0cbb3 (diff) |
Removed the lawfull faction property.
Diffstat (limited to 'src/game/base/faction.cc')
-rw-r--r-- | src/game/base/faction.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/game/base/faction.cc b/src/game/base/faction.cc index 512a8c6..ef0a7b6 100644 --- a/src/game/base/faction.cc +++ b/src/game/base/faction.cc @@ -57,7 +57,6 @@ bool Faction::init() std::string strvalue; float floatvalue; math::Color colorvalue; - bool b = false; std::string factionlabel; @@ -102,11 +101,7 @@ bool Faction::init() } else if (inifile.got_key_color("colorsecond", colorvalue)) { faction->set_color_second(colorvalue); continue; - - } else if (inifile.got_key_bool("lawfull", b)) { - faction->set_lawfull(b); - continue; - + } else { inifile.unknown_key(); } @@ -189,7 +184,7 @@ Faction::Faction() : faction_color(), faction_color_second() { - faction_lawfull = true; + } Faction::~Faction() |