summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-23 19:06:52 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-23 19:06:52 +0200
commit607175f02a3f89665c953d09c603183f909cc15b (patch)
tree92ccd56fd97daad6a97d8a348b2d6fc564370059 /src/peds
parentfixed script (diff)
downloadre3-607175f02a3f89665c953d09c603183f909cc15b.tar
re3-607175f02a3f89665c953d09c603183f909cc15b.tar.gz
re3-607175f02a3f89665c953d09c603183f909cc15b.tar.bz2
re3-607175f02a3f89665c953d09c603183f909cc15b.tar.lz
re3-607175f02a3f89665c953d09c603183f909cc15b.tar.xz
re3-607175f02a3f89665c953d09c603183f909cc15b.tar.zst
re3-607175f02a3f89665c953d09c603183f909cc15b.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp1
-rw-r--r--src/peds/Ped.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 278e5bef..512edf9a 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -670,6 +670,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
m_nPedMoney = random % 25;
if (m_nPedMoney == 23)
m_nPedMoney = 400;
+ m_nExtendedRangeTimer = 0;
m_bleedCounter = 0;
#ifdef PED_SKIN
m_pWeaponModel = nil;
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 2a774f9a..776aa1dd 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -523,6 +523,7 @@ public:
CPathNode *m_pNextPathNode;
float m_fHealth;
float m_fArmour;
+ uint32 m_nExtendedRangeTimer;
int16 m_routeLastPoint;
uint16 m_routeStartPoint;
int16 m_routePointsPassed;