diff options
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/Object.cpp | 1 | ||||
-rw-r--r-- | src/objects/Object.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp index aa366aa0..ba9145a8 100644 --- a/src/objects/Object.cpp +++ b/src/objects/Object.cpp @@ -12,6 +12,7 @@ WRAPPER void CObject::DeleteAllTempObjectInArea(CVector, float) { EAXJMP(0x4BBED WRAPPER void CObject::Init(void) { EAXJMP(0x4BAEC0); } WRAPPER void CObject::ProcessControl(void) { EAXJMP(0x4BB040); } WRAPPER void CObject::Teleport(CVector) { EAXJMP(0x4BBDA0); } +WRAPPER void CObject::DeleteAllTempObjects() { EAXJMP(0x4BBDF0); } int16 &CObject::nNoTempObjects = *(int16*)0x95CCA2; int16 &CObject::nBodyCastHealth = *(int16*)0x5F7D4C; // 1000 diff --git a/src/objects/Object.h b/src/objects/Object.h index 27346e23..4adc7883 100644 --- a/src/objects/Object.h +++ b/src/objects/Object.h @@ -85,5 +85,6 @@ public: bool CanBeDeleted(void); static void DeleteAllTempObjectInArea(CVector, float); + static void DeleteAllTempObjects(); }; static_assert(sizeof(CObject) == 0x198, "CObject: error"); |