diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-21 08:47:24 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-21 08:47:24 +0100 |
commit | 77515f04e0cbb23029563017b47def5f2b9d0e4a (patch) | |
tree | 9581f7371b37f886e13beb06019fbb8516a28756 /src/core | |
parent | Refactor CCullZone::CalcDistToCullZoneSquared (diff) | |
download | re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar.gz re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar.bz2 re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar.lz re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar.xz re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.tar.zst re3-77515f04e0cbb23029563017b47def5f2b9d0e4a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/FileLoader.cpp | 2 | ||||
-rw-r--r-- | src/core/ZoneCull.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp index cdf31f7b..50f51ecb 100644 --- a/src/core/FileLoader.cpp +++ b/src/core/FileLoader.cpp @@ -96,7 +96,7 @@ CFileLoader::LoadLevel(const char *filename) LoadObjectTypes(line + 4); }else if(strncmp(line, "IPL", 3) == 0){ if(!objectsLoaded){ - // CModelInfo::ConstructMloClumps(); + CModelInfo::ConstructMloClumps(); CObjectData::Initialise("DATA\\OBJECT.DAT"); objectsLoaded = true; } diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp index b6929e86..7b22a550 100644 --- a/src/core/ZoneCull.cpp +++ b/src/core/ZoneCull.cpp @@ -473,8 +473,8 @@ CCullZone::DoStuffEnteringZone_OneTreadablePlus10m(uint16 i) int j; if(i < 6000){ - CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;; - CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = true;; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = true; bb = CCullZones::aPointersToBigBuildingsForTreadables[i]; if(bb != -1) CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true; @@ -492,7 +492,7 @@ CCullZone::DoStuffEnteringZone_OneTreadable(uint16 i) int j; if(i < 6000){ - CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;; + CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true; bb = CCullZones::aPointersToBigBuildingsForTreadables[i]; if(bb != -1) CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true; |