From f33257521bf80dcef8575c4fc3ddaf4a40ff588a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Jun 2009 18:13:15 +0000 Subject: fixed a few widget order problems, changed map targetting behaviour --- src/core/parser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/parser.cc') diff --git a/src/core/parser.cc b/src/core/parser.cc index 2cf0e39..0cee506 100644 --- a/src/core/parser.cc +++ b/src/core/parser.cc @@ -67,10 +67,10 @@ bool Parser::got_entity_key(filesystem::IniFile &inifile, core::Entity *entity) return true; } else if (inifile.got_key_vector3f("location", entity->entity_location)) { return true; - } else if (inifile.got_key_color("color", entity->entity_color)) { - return true; } else if (inifile.got_key_color("colorsecond", entity->entity_color_second)) { return true; + } else if (inifile.got_key_color("color", entity->entity_color)) { + return true; } return false; -- cgit v1.2.3