From 8bf8afe68ca15c61b0dea1f5c1ef5fc7186dca0f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 11 Aug 2009 14:20:36 +0000 Subject: mandatory "maps/" prefix in .ini files --- src/core/parser.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core') 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) -- cgit v1.2.3