diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 14:42:41 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 14:42:41 +0300 |
commit | 8c036ec671f51a6957f0ac57daf8897ce5fa0925 (patch) | |
tree | b05bf852327cc5442e9bacbb7e2fb1e66bc3ea4a /src/entities/Entity.cpp | |
parent | 98177f27bae56806e37406972c04ab4f91e68a84 (diff) | |
parent | bb8b6348ec6a0da02eca330698584847edf740dc (diff) |
sync with master
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 907e3b14..5427665a 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -333,7 +333,7 @@ CEntity::SetupBigBuilding(void) bIsBIGBuilding = true; bStreamingDontDelete = true; bUsesCollision = false; - m_level = CTheZones::GetLevelFromPosition(GetPosition()); + m_level = CTheZones::GetLevelFromPosition(&GetPosition()); if(mi->m_lodDistances[0] <= 2000.0f) bStreamBIGBuilding = true; if(mi->m_lodDistances[0] > 2500.0f || mi->m_ignoreDrawDist) |