summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-24 17:21:45 +0200
committeraap <aap@papnet.eu>2020-08-24 17:21:45 +0200
commit56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89 (patch)
treee37523536524da22b942cbad973d6545af599164 /src/core/Zones.h
parentfinished sprites (diff)
downloadre3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar.gz
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar.bz2
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar.lz
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar.xz
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.tar.zst
re3-56b80cb0ab37ff6e7d4f58bf75c9e096d854ef89.zip
Diffstat (limited to 'src/core/Zones.h')
-rw-r--r--src/core/Zones.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Zones.h b/src/core/Zones.h
index 8d5af182..92e292b8 100644
--- a/src/core/Zones.h
+++ b/src/core/Zones.h
@@ -103,8 +103,8 @@ public:
static void SetPedDensity(uint16 zoneid, uint8 day, uint16 peddensity);
static void SetPedGroup(uint16 zoneid, uint8 day, uint16 pedgroup);
static int16 FindAudioZone(CVector *pos);
- static CZone *GetPointerForZoneIndex(int32 i) { return i == -1 ? nil : &InfoZoneArray[i]; }
- static int32 GetIndexForZonePointer(CZone *zone) { return zone == nil ? -1 : zone - InfoZoneArray; }
+ static CZone *GetPointerForZoneIndex(int32 i) { return i == -1 ? nil : &NavigationZoneArray[i]; }
+ static int32 GetIndexForZonePointer(CZone *zone) { return zone == nil ? -1 : zone - NavigationZoneArray; }
static void AddZoneToAudioZoneArray(CZone *zone);
static void InitialiseAudioZoneArray(void);
static void SaveAllZones(uint8 *buffer, uint32 *length);