diff options
-rw-r--r-- | engines/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index 6943227594..8f2c1be8eb 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -228,11 +228,11 @@ int Engine::runDialog(Dialog &dialog) { pauseEngine(true); - dialog.runModal(); + int result = dialog.runModal(); pauseEngine(false); - return 0; + return result; } void Engine::syncSoundSettings() { |