summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-25 14:49:00 +0100
committerGitHub <noreply@github.com>2020-01-25 14:49:00 +0100
commit36ecf74ee7787cae0810d1d153b9bdb23884b927 (patch)
treed061108eccd39287c37ec09aa00af1eac5298b56 /src/core
parentPartial CBoat (diff)
parentaudio stuff (diff)
downloadre3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar.gz
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar.bz2
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar.lz
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar.xz
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.tar.zst
re3-36ecf74ee7787cae0810d1d153b9bdb23884b927.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Pools.h4
-rw-r--r--src/core/Wanted.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/Pools.h b/src/core/Pools.h
index 770a1de1..862062ee 100644
--- a/src/core/Pools.h
+++ b/src/core/Pools.h
@@ -8,7 +8,7 @@
#include "PlayerPed.h"
#include "Automobile.h"
#include "DummyPed.h"
-#include "AudioManager.h"
+#include "AudioScriptObject.h"
typedef CPool<CPtrNode> CCPtrNodePool;
typedef CPool<CEntryInfoNode> CEntryInfoNodePool;
@@ -18,7 +18,7 @@ typedef CPool<CBuilding> CBuildingPool;
typedef CPool<CTreadable> CTreadablePool;
typedef CPool<CObject, CCutsceneHead> CObjectPool;
typedef CPool<CDummy, CDummyPed> CDummyPool;
-typedef CPool<cAudioScriptObject, cAudioScriptObject> CAudioScriptObjectPool;
+typedef CPool<cAudioScriptObject> CAudioScriptObjectPool;
class CPools
{
diff --git a/src/core/Wanted.h b/src/core/Wanted.h
index 15bff1a5..c908a4e5 100644
--- a/src/core/Wanted.h
+++ b/src/core/Wanted.h
@@ -22,6 +22,7 @@ enum eCrimeType
CRIME_COP_BURNED,
CRIME_VEHICLE_BURNED,
CRIME_DESTROYED_CESSNA,
+ NUM_CRIME_TYPES
};
class CCrimeBeingQd