From 42ff0f7c586b6700dea7729e9f4e1fa5bd42fc96 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Wed, 1 Jan 2020 23:55:01 +0300 Subject: bug fixes --- src/objects/Object.cpp | 2 ++ src/objects/Object.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/objects') diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp index 9d531c9c..de98a2d6 100644 --- a/src/objects/Object.cpp +++ b/src/objects/Object.cpp @@ -9,6 +9,8 @@ WRAPPER void CObject::ObjectDamage(float amount) { EAXJMP(0x4BB240); } WRAPPER void CObject::DeleteAllTempObjectInArea(CVector, float) { EAXJMP(0x4BBED0); } WRAPPER void CObject::Init(void) { EAXJMP(0x4BAEC0); } +WRAPPER void CObject::ProcessControl(void) { EAXJMP(0x4BB040); } +WRAPPER void CObject::Teleport(CVector) { EAXJMP(0x4BBDA0); } int16 &CObject::nNoTempObjects = *(int16*)0x95CCA2; int16 &CObject::nBodyCastHealth = *(int16*)0x5F7D4C; // 1000 diff --git a/src/objects/Object.h b/src/objects/Object.h index 47af4fbf..c07bb233 100644 --- a/src/objects/Object.h +++ b/src/objects/Object.h @@ -71,6 +71,8 @@ public: CObject(int32, bool); ~CObject(void); + void ProcessControl(void); + void Teleport(CVector); void Render(void); bool SetupLighting(void); void RemoveLighting(bool reset); -- cgit v1.2.3