From 164e3c5b1cd9e6d6f7ca26964df4c54394eb1c84 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Dec 2008 18:03:58 +0000 Subject: multiple introductions --- src/model/map.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/model') 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; -- cgit v1.2.3