diff options
author | Johannes Schickel | 2008-03-30 18:41:55 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-30 18:41:55 +0000 |
commit | bd85909ff998150a6a238ad04a554f5024faa6ef (patch) | |
tree | bc423df823fd23c62ec4bd4db95e6d1e23eb04ec /engines/kyra | |
parent | 54d2e7128e709fd7c6cffc3720d309ae0d2a3edf (diff) | |
download | scummvm-rg350-bd85909ff998150a6a238ad04a554f5024faa6ef.tar.gz scummvm-rg350-bd85909ff998150a6a238ad04a554f5024faa6ef.tar.bz2 scummvm-rg350-bd85909ff998150a6a238ad04a554f5024faa6ef.zip |
Don't enter run loop when quit flag is set.
svn-id: r31337
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/kyra_v2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index 0924a649fb..04c98ca953 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -269,7 +269,8 @@ int KyraEngine_v2::go() { if (_menuChoice & 1) { startup(); - runLoop(); + if (!quit()) + runLoop(); cleanup(); if (_showCredits) |