summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-18 00:56:13 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-19 19:14:17 +0100
commit090aef7de7672c2649570eeff5cc5b68a371e723 (patch)
tree5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/core/Zones.h
parentMerge pull request #328 from erorcun/erorcun (diff)
downloadre3-090aef7de7672c2649570eeff5cc5b68a371e723.tar
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.gz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.bz2
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.lz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.xz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.zst
re3-090aef7de7672c2649570eeff5cc5b68a371e723.zip
Diffstat (limited to 'src/core/Zones.h')
-rw-r--r--src/core/Zones.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/Zones.h b/src/core/Zones.h
index bf3957de..76855e8b 100644
--- a/src/core/Zones.h
+++ b/src/core/Zones.h
@@ -1,6 +1,7 @@
#pragma once
#include "Game.h"
+#include "Gangs.h"
enum eZoneType
{
@@ -38,12 +39,12 @@ public:
int16 carDensity;
int16 carThreshold[6];
int16 copThreshold;
- int16 gangThreshold[9];
+ int16 gangThreshold[NUM_GANGS];
// Ped data
uint16 pedDensity;
uint16 copDensity;
- uint16 gangDensity[9];
+ uint16 gangDensity[NUM_GANGS];
uint16 pedGroup;
};