diff options
Diffstat (limited to '')
-rw-r--r-- | src/objects/Object.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp index 357d67d7..aa366aa0 100644 --- a/src/objects/Object.cpp +++ b/src/objects/Object.cpp @@ -5,6 +5,7 @@ #include "Pools.h" #include "Radar.h" #include "Object.h" +#include "DummyObject.h" WRAPPER void CObject::ObjectDamage(float amount) { EAXJMP(0x4BB240); } WRAPPER void CObject::DeleteAllTempObjectInArea(CVector, float) { EAXJMP(0x4BBED0); } @@ -37,8 +38,8 @@ CObject::CObject(void) bIsPickup = false; m_obj_flag2 = false; bOutOfStock = false; - m_obj_flag8 = false; - m_obj_flag10 = false; + bGlassCracked = false; + bGlassBroken = false; bHasBeenDamaged = false; m_nRefModelIndex = -1; bUseVehicleColours = false; @@ -141,6 +142,8 @@ CObject::CanBeDeleted(void) } } +#include <new> + class CObject_ : public CObject { public: |