summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-27 17:07:36 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-27 17:38:35 +0100
commit750d3229a38cfa449ebb51e4936ca9b33e581695 (patch)
tree84f3dc2642869bc046888c24683cc80712652ba7 /src/control
parentscript fixes (diff)
downloadre3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.gz
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.bz2
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.lz
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.xz
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.zst
re3-750d3229a38cfa449ebb51e4936ca9b33e581695.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 3d8807d8..4ef3821e 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -3757,7 +3757,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
CollectParameters(&m_nIp, 2);
CPlayerInfo* pPlayer = &CWorld::Players[ScriptParams[0]];
if (ScriptParams[1]){
- if (CReplay::IsPlayingBack() || CTheScripts::DelayMakingPlayerUnsafeThisTime){
+ if (CGame::playingIntro || CTheScripts::DelayMakingPlayerUnsafeThisTime){
CTheScripts::CountdownToMakePlayerUnsafe = 50;
if (CTheScripts::DelayMakingPlayerUnsafeThisTime)
CTheScripts::DelayMakingPlayerUnsafeThisTime--;