diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-08 13:31:56 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-08 13:31:56 +0000 |
commit | 5be8beddb96efd9ee8229e11b3a4c6aa954d0723 (patch) | |
tree | a34c30e38609b9fed74bf704a1871f73f3eb20e0 /src/model | |
parent | e88766103ca0448d5b88c517f30372696bce9219 (diff) |
Ignore the angle keys on map sounds, corrected audio position for model sound loops.
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/mapfile.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc index f21484a..5e18a0d 100644 --- a/src/model/mapfile.cc +++ b/src/model/mapfile.cc @@ -1602,6 +1602,12 @@ Model * MapFile::load(std::string const &name) } tag_sound->set_name(str); continue; + + } else if (mapfile.got_key("angle")) { + continue; + + } else if (mapfile.got_key("angles")) { + continue; } else if (mapfile.got_key()) { mapfile.unknown_key(); |