diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v8.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 743c751f34..ddefb92d52 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1371,7 +1371,10 @@ void ScummEngine_v8::o8_kernelSetFunctions() { warning("o8_kernelSetFunctions: paletteSetIntensity(%d, %d)", args[1], args[2]); break; case 34: // queryQuit - warning("o8_kernelSetFunctions: queryQuit()"); + if (_confirmExit) + confirmexitDialog(); + else + _quit = true; break; case 108: // buildPaletteShadow setupShadowPalette(args[1], args[2], args[3], args[4], args[5], args[6]); |