summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-22 11:38:09 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-22 11:38:09 +0200
commitee61f19253e57203695926af6253e69cd7e8d554 (patch)
tree7ece38b0304f774975e2abf78ac9f479342f39ad /src/core/Zones.h
parentEmergencyPed, PedDebug, message fix (diff)
downloadre3-ee61f19253e57203695926af6253e69cd7e8d554.tar
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.gz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.bz2
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.lz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.xz
re3-ee61f19253e57203695926af6253e69cd7e8d554.tar.zst
re3-ee61f19253e57203695926af6253e69cd7e8d554.zip
Diffstat (limited to '')
-rw-r--r--src/core/Zones.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Zones.h b/src/core/Zones.h
index 3a74427d..5306d9f1 100644
--- a/src/core/Zones.h
+++ b/src/core/Zones.h
@@ -77,7 +77,7 @@ public:
static CZone *GetInfoZone(uint16 i) { return &InfoZoneArray[i]; }
static CZone *GetNavigationZone(uint16 i) { return &NavigationZoneArray[i]; }
static CZone *GetMapZone(uint16 i) { return &MapZoneArray[i]; }
- static CZone *GetAudioZone(uint16 i) { return &InfoZoneArray[AudioZoneArray[i]]; }
+ static CZone *GetAudioZone(uint16 i) { return &NavigationZoneArray[AudioZoneArray[i]]; }
static void PostZoneCreation(void);
static void CheckZonesForOverlap(void);
static void InsertZoneIntoZoneHierarchy(CZone *zone);