fixed COcclusion

This commit is contained in:
aap 2020-07-20 23:25:04 +02:00
parent ee2d0ffc14
commit 5bedca7692
5 changed files with 74 additions and 56 deletions

View file

@ -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);
}