summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorsaml1er <danishroar@gmail.com>2020-04-16 20:46:08 +0200
committersaml1er <danishroar@gmail.com>2020-04-16 20:46:08 +0200
commit52d0d811b79f810aae9d10beb671f9889b8e4330 (patch)
tree1a6a30915d073e079a59ef51a32f566f7545359f /src/objects
parentMerge pull request #435 from GTAmodding/appveyor (diff)
downloadre3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.gz
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.bz2
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.lz
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.xz
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.zst
re3-52d0d811b79f810aae9d10beb671f9889b8e4330.zip
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/Object.cpp4
-rw-r--r--src/objects/Object.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp
index 867624c7..88773b83 100644
--- a/src/objects/Object.cpp
+++ b/src/objects/Object.cpp
@@ -383,7 +383,7 @@ CObject::DeleteAllTempObjects()
}
void
-CObject::DeleteAllTempObjectInArea(CVector point, float fRadius)
+CObject::DeleteAllTempObjectsInArea(CVector point, float fRadius)
{
CObjectPool *objectPool = CPools::GetObjectPool();
for (int32 i = 0; i < objectPool->GetSize(); i++) {
@@ -426,5 +426,5 @@ STARTPATCHES
InjectHook(0x4BB010, &CObject::CanBeDeleted, PATCH_JUMP);
InjectHook(0x4BBE60, &CObject::DeleteAllMissionObjects, PATCH_JUMP);
InjectHook(0x4BBDF0, &CObject::DeleteAllTempObjects, PATCH_JUMP);
- InjectHook(0x4BBED0, &CObject::DeleteAllTempObjectInArea, PATCH_JUMP);
+ InjectHook(0x4BBED0, &CObject::DeleteAllTempObjectsInArea, PATCH_JUMP);
ENDPATCHES
diff --git a/src/objects/Object.h b/src/objects/Object.h
index 6d04c78a..80c742a0 100644
--- a/src/objects/Object.h
+++ b/src/objects/Object.h
@@ -99,6 +99,6 @@ public:
static void DeleteAllMissionObjects();
static void DeleteAllTempObjects();
- static void DeleteAllTempObjectInArea(CVector point, float fRadius);
+ static void DeleteAllTempObjectsInArea(CVector point, float fRadius);
};
static_assert(sizeof(CObject) == 0x198, "CObject: error");