diff options
-rw-r--r-- | scumm/script.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v2.cpp | 1 | ||||
-rw-r--r-- | scumm/script_v6.cpp | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index d9c816681c..ee244ef5af 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -855,7 +855,7 @@ void ScummEngine::killScriptsAndResources() { ss->status = ssDead; } else if (ss->where == WIO_LOCAL) { if (ss->cutsceneOverride) { - if ( _version >= 5) + if (_version >= 5) warning("Script %d stopped with active cutscene/override in exit", ss->number); ss->cutsceneOverride = 0; } diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 16e7753f21..b842a1a44d 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -448,7 +448,6 @@ void ScummEngine_v2::writeVar(uint var, int value) { // script 89, script 164 isn't reran to redraw it. Why? Dunno. Hack? Yes. if ((var == 175) && (_gameId == GID_MANIAC) && (vm.slot[_currentScript].number == 89)) runScript(164, 0, 0, 0); - } void ScummEngine_v2::getResultPosIndirect() { diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 99ae54451a..ce7a7b4256 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -394,7 +394,6 @@ int ScummEngine_v6::popRoomAndObj(int *room) { obj = pop(); } - return obj; } |