summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.h
diff options
context:
space:
mode:
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");