summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
committeraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
commit541665d9d12d9f85dd759b14a8c6abd84714b84f (patch)
tree038a09c138f91ffe5512e27f0cfe6141f47ea24e /src/entities/Ped.h
parentMerge pull request #6 from Fire-Head/master (diff)
downloadre3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.gz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.bz2
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.lz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.xz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.zst
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Ped.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h
index 04763cc1..366674d4 100644
--- a/src/entities/Ped.h
+++ b/src/entities/Ped.h
@@ -179,10 +179,10 @@ public:
CWeapon m_weapons[PED_MAX_WEAPONS];
int32 stuff7;
uint8 m_currentWeapon;
- uint8 stuff[167];
+ uint8 stuff[163];
-// static void *operator new(size_t);
-// static void operator delete(void*, size_t);
+ static void *operator new(size_t);
+ static void operator delete(void*, size_t);
bool IsPlayer(void) { return m_nPedType == 0 || m_nPedType== 1 || m_nPedType == 2 || m_nPedType == 3; }
bool UseGroundColModel(void);
@@ -196,4 +196,4 @@ static_assert(offsetof(CPed, m_nPedType) == 0x32C, "CPed: error");
static_assert(offsetof(CPed, m_pCollidingEntity) == 0x34C, "CPed: error");
static_assert(offsetof(CPed, m_weapons) == 0x35C, "CPed: error");
static_assert(offsetof(CPed, m_currentWeapon) == 0x498, "CPed: error");
-static_assert(sizeof(CPed) == 0x540, "CPed: error");
+static_assert(sizeof(CPed) == 0x53C, "CPed: error");