summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-02-19 19:16:50 +0100
committerGitHub <noreply@github.com>2020-02-19 19:16:50 +0100
commit1610d325dcea7f3626099cbc43d0bce344ee477e (patch)
tree5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/core
parentMerge pull request #328 from erorcun/erorcun (diff)
parentCPopulation 2 (diff)
downloadre3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.gz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.bz2
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.lz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.xz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.zst
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.zip
Diffstat (limited to 'src/core')
-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;
};