diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-11 14:20:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-11 14:20:36 +0000 |
commit | 8bf8afe68ca15c61b0dea1f5c1ef5fc7186dca0f (patch) | |
tree | abc0a577a1a823604cf81b6dd6d192d707d365fb | |
parent | 95b3f5993151db7607f69132adc604e27e0f55ce (diff) |
mandatory "maps/" prefix in .ini files
-rw-r--r-- | src/core/parser.cc | 3 |
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) |