Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-11 11:49:12 +0000
committerStijn Buys <ingar@osirion.org>2009-08-11 11:49:12 +0000
commit25bcd92706ce2cd6aee24cfb81e9ff2fd7dd4820 (patch)
tree19e71f817ffc36247f4db718454f3634904284b0 /src/core/parser.cc
parenta2ae048571310e80ba7502f1d81b5dd2eb1e38fa (diff)
misc_model support
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r--src/core/parser.cc3
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)