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>2010-12-08 13:31:56 +0000
committerStijn Buys <ingar@osirion.org>2010-12-08 13:31:56 +0000
commit5be8beddb96efd9ee8229e11b3a4c6aa954d0723 (patch)
treea34c30e38609b9fed74bf704a1871f73f3eb20e0 /src/model
parente88766103ca0448d5b88c517f30372696bce9219 (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.cc6
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();