From f1863676bbd3d99d70ab3160dad325d851550567 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Tue, 4 Feb 2020 22:05:17 +0200 Subject: CullZone fix --- src/core/ZoneCull.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/ZoneCull.cpp') diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp index 7b22a550..4a2bea4f 100644 --- a/src/core/ZoneCull.cpp +++ b/src/core/ZoneCull.cpp @@ -462,7 +462,7 @@ CCullZone::DoStuffEnteringZone_OneBuilding(uint16 i) }else{ i -= 6000; for(j = 0; j < 3; j++) - DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]); + DoStuffEnteringZone_OneBuilding(CCullZones::aIndices[i+j]); } } @@ -481,7 +481,7 @@ CCullZone::DoStuffEnteringZone_OneTreadablePlus10m(uint16 i) }else{ i -= 6000; for(j = 0; j < 3; j++) - DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]); + DoStuffEnteringZone_OneTreadablePlus10m(CCullZones::aIndices[i+j]); } } @@ -499,7 +499,7 @@ CCullZone::DoStuffEnteringZone_OneTreadable(uint16 i) }else{ i -= 6000; for(j = 0; j < 3; j++) - DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]); + DoStuffEnteringZone_OneTreadable(CCullZones::aIndices[i+j]); } } -- cgit v1.2.3