diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-18 14:34:27 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-18 14:34:27 +0200 |
commit | 4ed6e86db155dfc147a4c6ec2d82686a38cb0e39 (patch) | |
tree | b729b8f7b59f7a8a2c44feb11ae48063185ba650 /src/entities/Ped.h | |
parent | CPed::Avoid and needed changes (diff) | |
download | re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar.gz re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar.bz2 re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar.lz re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar.xz re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.tar.zst re3-4ed6e86db155dfc147a4c6ec2d82686a38cb0e39.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Ped.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h index 0249c707..7496ee67 100644 --- a/src/entities/Ped.h +++ b/src/entities/Ped.h @@ -95,7 +95,7 @@ public: float m_fCollisionSpeed; uint8 m_ped_flagA1 : 1; uint8 m_ped_flagA2 : 1; - uint8 m_ped_flagA4 : 1; + uint8 m_ped_flagA4 : 1; // stores (CTimer::GetTimeInMilliseconds() < m_lastHitTime) uint8 m_ped_flagA8 : 1; uint8 m_ped_flagA10 : 1; // set when A20 just changed? uint8 m_ped_flagA20_look : 1; @@ -129,7 +129,7 @@ public: uint8 m_ped_flagE2 : 1; uint8 m_ped_flagE4 : 1; uint8 m_ped_flagE8 : 1; - uint8 m_ped_flagE10 : 1; + uint8 m_ped_flagE10 : 1; // can't attack if it's set uint8 m_ped_flagE20 : 1; uint8 m_ped_flagE40 : 1; uint8 m_ped_flagE80 : 1; @@ -228,7 +228,10 @@ public: uint32 m_leaveCarTimer; uint32 m_getUpTimer; uint32 m_lookTimer; - uint8 stuff9[34]; + uint32 m_standardTimer; + uint32 m_attackTimer; + uint32 m_lastHitTime; + uint8 stuff9[22]; uint8 m_bodyPartBleeding; uint8 m_field_4F3; CPed *m_nearPeds[10]; |