summaryrefslogtreecommitdiffstats
path: root/src/core/FileLoader.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-20 23:25:04 +0200
committeraap <aap@papnet.eu>2020-07-20 23:25:04 +0200
commit5bedca7692490914ad2545767a6f1aa1fd46f386 (patch)
treefcee819f4c59b21fb4cbd48eb9f0c96cfbdff239 /src/core/FileLoader.cpp
parentMerge pull request #650 from majesticCoding/miami (diff)
downloadre3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar.gz
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar.bz2
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar.lz
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar.xz
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.tar.zst
re3-5bedca7692490914ad2545767a6f1aa1fd46f386.zip
Diffstat (limited to '')
-rw-r--r--src/core/FileLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index a29d26fa..86ebb5dd 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -1279,7 +1279,7 @@ CFileLoader::LoadOcclusionVolume(const char *line)
&x, &y, &z,
&width, &length, &height,
&angle);
- COcclusion::AddOne(x, y, z, width, length, z + height/2.0f, angle);
+ COcclusion::AddOne(x, y, z + height/2.0f, width, length, height, angle);
}