diff options
author | aap <aap@papnet.eu> | 2020-05-06 12:23:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 12:23:26 +0200 |
commit | cbfc45b3f72468e7880bec852773955d3886b5ff (patch) | |
tree | b1c472a41e7b50d1950e37c8d27d1eb9531ca57d /src/entities | |
parent | reverting fuckup (diff) | |
download | re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.gz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.bz2 re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.lz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.xz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.zst re3-cbfc45b3f72468e7880bec852773955d3886b5ff.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 e2b91552..ec50dd30 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(m_level == LEVEL_NONE){ if(mi->GetTxdSlot() != CTxdStore::FindTxdSlot("generic")){ mi->SetTexDictionary("generic"); |