diff --git a/scumm/script.cpp b/scumm/script.cpp index d9c816681cb..ee244ef5af4 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 16e7753f215..b842a1a44d4 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 99ae54451a3..ce7a7b42569 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; }