diff options
author | Max Horn | 2004-04-04 19:24:03 +0000 |
---|---|---|
committer | Max Horn | 2004-04-04 19:24:03 +0000 |
commit | 70237e74c96bb09384f87a48f01cdf897199dece (patch) | |
tree | 30fd0cef6734ff37a7fbe0e8a34a089c701fde5a | |
parent | d859bebb903e3bf4a8d00922c071daec2cfa3cd3 (diff) | |
download | scummvm-rg350-70237e74c96bb09384f87a48f01cdf897199dece.tar.gz scummvm-rg350-70237e74c96bb09384f87a48f01cdf897199dece.tar.bz2 scummvm-rg350-70237e74c96bb09384f87a48f01cdf897199dece.zip |
Implement V8 queryQuit opcode
svn-id: r13461
-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]); |