Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r--src/core/parser.cc4
1 files changed, 2 insertions, 2 deletions
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;