summaryrefslogtreecommitdiffstats
path: root/src/objects/Object.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 09:16:30 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 09:16:30 +0200
commit881d61f811608ea99a08b2bb65ce80a40a2c5138 (patch)
treed60187ac151352c886772576da6e06d3acdb1cad /src/objects/Object.cpp
parentMerge pull request #458 from erorcun/erorcun (diff)
parentMore CWorld fixes (diff)
downloadre3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.gz
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.bz2
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.lz
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.xz
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.zst
re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.zip
Diffstat (limited to '')
-rw-r--r--src/objects/Object.cpp4
1 files changed, 2 insertions, 2 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