diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-04-17 07:54:14 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-04-17 07:54:14 +0200 |
commit | a4922d5cb77e31657768d5da4b286a2e67ee0e6f (patch) | |
tree | c54c73ac29fbde0233614c60423f662318d2a167 /src/peds | |
parent | Merge pull request #455 from erorcun/erorcun (diff) | |
download | re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.gz re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.bz2 re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.lz re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.xz re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.tar.zst re3-a4922d5cb77e31657768d5da4b286a2e67ee0e6f.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/PedRoutes.cpp | 2 | ||||
-rw-r--r-- | src/peds/PedStats.cpp | 1 | ||||
-rw-r--r-- | src/peds/PedType.cpp | 2 | ||||
-rw-r--r-- | src/peds/PedType.h | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/peds/PedRoutes.cpp b/src/peds/PedRoutes.cpp index 3bc17002..b6512edd 100644 --- a/src/peds/PedRoutes.cpp +++ b/src/peds/PedRoutes.cpp @@ -3,7 +3,7 @@ #include "main.h" #include "PedRoutes.h" -CRouteNode (&gaRoutes)[NUMPEDROUTES] = *(CRouteNode(*)[NUMPEDROUTES]) * (uintptr*)0x62E090; +CRouteNode gaRoutes[NUMPEDROUTES]; void CRouteNode::Initialise() diff --git a/src/peds/PedStats.cpp b/src/peds/PedStats.cpp index 147f11e2..a2ccb567 100644 --- a/src/peds/PedStats.cpp +++ b/src/peds/PedStats.cpp @@ -4,7 +4,6 @@ #include "FileMgr.h" #include "PedStats.h" -//CPedStats *(&CPedStats::ms_apPedStats)[NUM_PEDSTATS] = *(CPedStats *(*)[NUM_PEDSTATS]) *(uintptr*)0x9404D4; CPedStats *CPedStats::ms_apPedStats[NUM_PEDSTATS]; void diff --git a/src/peds/PedType.cpp b/src/peds/PedType.cpp index 4c9d6b3f..30af6dcc 100644 --- a/src/peds/PedType.cpp +++ b/src/peds/PedType.cpp @@ -3,7 +3,7 @@ #include "FileMgr.h" #include "PedType.h" -CPedType *(&CPedType::ms_apPedType)[NUM_PEDTYPES] = *(CPedType *(*)[NUM_PEDTYPES]) *(uintptr*)0x941594; +CPedType *CPedType::ms_apPedType[NUM_PEDTYPES]; void CPedType::Initialise(void) diff --git a/src/peds/PedType.h b/src/peds/PedType.h index 3d927df5..c0c72550 100644 --- a/src/peds/PedType.h +++ b/src/peds/PedType.h @@ -71,7 +71,7 @@ class CPedType uint32 m_threats; uint32 m_avoid; - static CPedType *(&ms_apPedType)[NUM_PEDTYPES]; + static CPedType *ms_apPedType[NUM_PEDTYPES]; public: static void Initialise(void); |