Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-12-21 18:03:58 +0000
committerStijn Buys <ingar@osirion.org>2008-12-21 18:03:58 +0000
commit164e3c5b1cd9e6d6f7ca26964df4c54394eb1c84 (patch)
treec34e7e7747d8f76a4161a045d406c05dcbb227a3 /src/model
parentcf1f5b659873c7eb1557ce7cedc17eed6ca03185 (diff)
multiple introductions
Diffstat (limited to 'src/model')
-rw-r--r--src/model/map.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/model/map.cc b/src/model/map.cc
index 8139dd0..549abff 100644
--- a/src/model/map.cc
+++ b/src/model/map.cc
@@ -834,7 +834,10 @@ Model * Map::load(std::string const &name)
} else if (mapfile.in_class("worldspawn")) {
// worldspawn attributes
- if (mapfile.got_key_int("enginesound", u)) {
+ if (mapfile.got_key("name")) {
+ con_debug << " model name '" << name << "'" << std::endl;
+
+ } else if (mapfile.got_key_int("enginesound", u)) {
model->model_enginesound = u;
continue;