Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-11 14:20:36 +0000
committerStijn Buys <ingar@osirion.org>2009-08-11 14:20:36 +0000
commit8bf8afe68ca15c61b0dea1f5c1ef5fc7186dca0f (patch)
treeabc0a577a1a823604cf81b6dd6d192d707d365fb /src/core
parent95b3f5993151db7607f69132adc604e27e0f55ce (diff)
mandatory "maps/" prefix in .ini files
Diffstat (limited to 'src/core')
-rw-r--r--src/core/parser.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/parser.cc b/src/core/parser.cc
index d6f6f8f..0cee506 100644
--- a/src/core/parser.cc
+++ b/src/core/parser.cc
@@ -46,8 +46,7 @@ bool Parser::got_entity_key(filesystem::IniFile &inifile, core::Entity *entity)
entity->set_name(strval);
return true;
} else if (inifile.got_key_string("model", strval)) {
- // FIXME "remove maps/ prefix"
- entity->set_modelname("maps/" + strval);
+ entity->set_modelname(strval);
return true;
} else if (inifile.got_key_bool("showonmap", blnval)) {
if (blnval)