Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/map.cc')
-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;