summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-03-28 21:55:23 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-03-28 21:55:23 +0100
commit194ddc5f40835476673655bd3895f2b7fe7fee0c (patch)
tree530ef79acd32c90ce5ef5d545a04d4d09b5abfb7 /src/control/Script.cpp
parentMerge pull request #363 from erorcun/erorcun (diff)
downloadre3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.gz
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.bz2
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.lz
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.xz
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.zst
re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 14f55734..d989a0ce 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9819,7 +9819,7 @@ void CTheScripts::UndoBuildingSwaps()
}
}
-void CTheScripts::UndoEntityVisibilitySettings()
+void CTheScripts::UndoEntityInvisibilitySettings()
{
for (int i = 0; i < MAX_NUM_INVISIBILITY_SETTINGS; i++) {
if (InvisibilitySettingArray[i]) {
@@ -11657,7 +11657,7 @@ InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP);
InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP);
InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP);
InjectHook(0x44FD10, &CTheScripts::UndoBuildingSwaps, PATCH_JUMP);
-InjectHook(0x44FD60, &CTheScripts::UndoEntityVisibilitySettings, PATCH_JUMP);
+InjectHook(0x44FD60, &CTheScripts::UndoEntityInvisibilitySettings, PATCH_JUMP);
InjectHook(0x4534E0, &CTheScripts::ScriptDebugLine3D, PATCH_JUMP);
InjectHook(0x453550, &CTheScripts::RenderTheScriptDebugLines, PATCH_JUMP);
InjectHook(0x4535E0, &CTheScripts::SaveAllScripts, PATCH_JUMP);