diff options
author | aap <aap@papnet.eu> | 2019-06-02 17:13:56 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-02 17:13:56 +0200 |
commit | 541665d9d12d9f85dd759b14a8c6abd84714b84f (patch) | |
tree | 038a09c138f91ffe5512e27f0cfe6141f47ea24e /src/entities/Vehicle.h | |
parent | Merge pull request #6 from Fire-Head/master (diff) | |
download | re3-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/Vehicle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entities/Vehicle.h b/src/entities/Vehicle.h index 16f11763..46e1c57c 100644 --- a/src/entities/Vehicle.h +++ b/src/entities/Vehicle.h @@ -54,6 +54,9 @@ uint8 m_extra2; uint8 stuff4[139]; int32 m_vehType; + static void *operator new(size_t); + static void operator delete(void*, size_t); + bool IsCar(void) { return m_vehType == VEHICLE_TYPE_CAR; } bool IsBoat(void) { return m_vehType == VEHICLE_TYPE_BOAT; } bool IsTrain(void) { return m_vehType == VEHICLE_TYPE_TRAIN; } |