summaryrefslogtreecommitdiffstats
path: root/src/control/GameLogic.cpp
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-07 17:47:28 +0200
committerGitHub <noreply@github.com>2021-08-07 17:47:28 +0200
commite947081622d337a5e22791691e5d0dbed56e0199 (patch)
tree4cf5012d9795a870caf8ec00ef69b1f9baf15210 /src/control/GameLogic.cpp
parentCVehicle fixes and cleanup (diff)
parentmore cherry-pick fix (diff)
downloadre3-e947081622d337a5e22791691e5d0dbed56e0199.tar
re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.gz
re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.bz2
re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.lz
re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.xz
re3-e947081622d337a5e22791691e5d0dbed56e0199.tar.zst
re3-e947081622d337a5e22791691e5d0dbed56e0199.zip
Diffstat (limited to 'src/control/GameLogic.cpp')
-rw-r--r--src/control/GameLogic.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp
index 11df7b43..63c685d1 100644
--- a/src/control/GameLogic.cpp
+++ b/src/control/GameLogic.cpp
@@ -102,6 +102,15 @@ CGameLogic::Update()
CVector vecRestartPos;
float fRestartFloat;
+#ifdef MISSION_REPLAY
+ // what a place to check!
+ if (gbTryingPorn4Again) {
+ CRunningScript* pScript = CTheScripts::pActiveScripts;
+ if (pScript && !CGeneral::faststricmp(pScript->m_abScriptName, "porno4"))
+ gbTryingPorn4Again = false;
+ }
+#endif
+
if (CCutsceneMgr::IsCutsceneProcessing()) return;
UpdateShortCut();