diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
commit | 25bcd92706ce2cd6aee24cfb81e9ff2fd7dd4820 (patch) | |
tree | 19e71f817ffc36247f4db718454f3634904284b0 /src/core | |
parent | a2ae048571310e80ba7502f1d81b5dd2eb1e38fa (diff) |
misc_model support
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/parser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/parser.cc b/src/core/parser.cc index 0cee506..d6f6f8f 100644 --- a/src/core/parser.cc +++ b/src/core/parser.cc @@ -46,7 +46,8 @@ 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)) { - entity->set_modelname(strval); + // FIXME "remove maps/ prefix" + entity->set_modelname("maps/" + strval); return true; } else if (inifile.got_key_bool("showonmap", blnval)) { if (blnval) |