diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-21 21:26:32 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-25 10:54:41 +0100 |
commit | a50244dc16085a49f4949cf75f6220320480cebd (patch) | |
tree | 34a022c699eed9c8651ddbe8391c985753e46b2b /src/core/Zones.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-a50244dc16085a49f4949cf75f6220320480cebd.tar re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.gz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.bz2 re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.lz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.xz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.zst re3-a50244dc16085a49f4949cf75f6220320480cebd.zip |
Diffstat (limited to 'src/core/Zones.cpp')
-rw-r--r-- | src/core/Zones.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/Zones.cpp b/src/core/Zones.cpp index 8abe0f1e..55b43c10 100644 --- a/src/core/Zones.cpp +++ b/src/core/Zones.cpp @@ -209,6 +209,9 @@ CTheZones::PostZoneCreation(void) for(i = 1; i < TotalNumberOfNavigationZones; i++) InsertZoneIntoZoneHierarchy(&NavigationZoneArray[i]); InitialiseAudioZoneArray(); +#ifndef MASTER + CheckZonesForOverlap(); +#endif } void @@ -222,8 +225,7 @@ CTheZones::CheckZonesForOverlap(void) for(j = 1; j < TotalNumberOfInfoZones; j++) if(i != j && ZoneIsEntirelyContainedWithinOtherZone(&InfoZoneArray[i], &InfoZoneArray[j])) - sprintf(str, "Info zone %s contains %s\n", - &InfoZoneArray[j].name, &InfoZoneArray[i].name); + sprintf(str, "Info zone %s contains %s\n", InfoZoneArray[j].name, InfoZoneArray[i].name); } } |