diff options
author | aap <aap@papnet.eu> | 2019-05-17 14:08:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-17 14:08:18 +0200 |
commit | 5b8f20b08e6a40e2b07df73e90c5e84e259140fe (patch) | |
tree | d8c5977bb4fda8c2521fad3810e4436f1bdf2127 /src/entities/Ped.h | |
parent | renames and a fix (diff) | |
download | re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.gz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.bz2 re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.lz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.xz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.zst re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.zip |
Diffstat (limited to 'src/entities/Ped.h')
-rw-r--r-- | src/entities/Ped.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h index fd71b616..fe448a94 100644 --- a/src/entities/Ped.h +++ b/src/entities/Ped.h @@ -24,7 +24,10 @@ public: bool bInVehicle; uint8 stuff4[23]; int32 m_nPedType; - uint8 stuff5[528]; + + uint8 stuff5[28]; + CVehicle *m_pCollidingVehicle; + uint8 stuff6[496]; bool IsPlayer(void) { return m_nPedType == 0 || m_nPedType== 1 || m_nPedType == 2 || m_nPedType == 3; } }; @@ -32,4 +35,5 @@ static_assert(offsetof(CPed, m_nPedState) == 0x224, "CPed: error"); static_assert(offsetof(CPed, m_pCurSurface) == 0x2FC, "CPed: error"); static_assert(offsetof(CPed, m_pMyVehicle) == 0x310, "CPed: error"); static_assert(offsetof(CPed, m_nPedType) == 0x32C, "CPed: error"); +static_assert(offsetof(CPed, m_pCollidingVehicle) == 0x34C, "CPed: error"); static_assert(sizeof(CPed) == 0x540, "CPed: error"); |