diff options
author | aap <aap@papnet.eu> | 2020-05-06 12:23:57 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 12:23:57 +0200 |
commit | e0568a19d52e7aebef65960df93a90d0693c7b56 (patch) | |
tree | b4ec779b2e76f6a2bebf286084d99888f8ad3275 /src/entities | |
parent | updating librw because of fuckup (diff) | |
download | re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar.gz re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar.bz2 re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar.lz re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar.xz re3-e0568a19d52e7aebef65960df93a90d0693c7b56.tar.zst re3-e0568a19d52e7aebef65960df93a90d0693c7b56.zip |
Diffstat (limited to 'src/entities')
-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 b52efbcf..107238c3 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -331,7 +331,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) |