summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-29 17:43:43 +0200
committerGitHub <noreply@github.com>2020-03-29 17:43:43 +0200
commit0cbdca632fae35923d585cd791d8d8b84c93103e (patch)
treede9f8dbd0e3c06ffbb95b13c0637dfc3db3873c1 /src/control/Script.cpp
parentMerge pull request #367 from Sergeanur/wrappers_cleanup (diff)
parentMerge branch 'master' into master (diff)
downloadre3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.gz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.bz2
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.lz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.xz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.zst
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.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 5e83ce21..09ee52cc 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9790,7 +9790,7 @@ void CTheScripts::UndoBuildingSwaps()
}
}
-void CTheScripts::UndoEntityVisibilitySettings()
+void CTheScripts::UndoEntityInvisibilitySettings()
{
for (int i = 0; i < MAX_NUM_INVISIBILITY_SETTINGS; i++) {
if (InvisibilitySettingArray[i]) {
@@ -11628,7 +11628,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);