summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
commit904090cbb6cf7978e2e093da1ea1d7245dcb02c8 (patch)
treeb48af2798ab8faea3fcfe16d1ed8629dc025b8ab /src/core/Zones.h
parentRemove restrictions in CGame::Process (diff)
parentadded some missing functions (diff)
downloadre3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.gz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.bz2
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.lz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.xz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.zst
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.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 5306d9f1..b987f009 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 : &NavigationZoneArray[i]; }
- static int32 GetIndexForZonePointer(CZone *zone) { return zone == nil ? -1 : zone - NavigationZoneArray; }
+ static CZone *GetPointerForZoneIndex(ssize_t i) { return i == -1 ? nil : &NavigationZoneArray[i]; }
+ static ssize_t 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);