diff options
| author | Max Horn | 2008-09-01 20:21:30 +0000 |
|---|---|---|
| committer | Max Horn | 2008-09-01 20:21:30 +0000 |
| commit | f2b26c5615dd743ea99568920428a0a562bc94d3 (patch) | |
| tree | 743684f667e2c26ee892f02e1211fe76c7d3b180 /engines/sword1/logic.cpp | |
| parent | 5013b01e7414910648bc8cc6c413c97a8160092d (diff) | |
| parent | 852bc9dbb750b9995d31e70f4158c97d3758c46f (diff) | |
| download | scummvm-rg350-f2b26c5615dd743ea99568920428a0a562bc94d3.tar.gz scummvm-rg350-f2b26c5615dd743ea99568920428a0a562bc94d3.tar.bz2 scummvm-rg350-f2b26c5615dd743ea99568920428a0a562bc94d3.zip | |
Merging more of the GSoC 2008 RTL branch: SWORD1
svn-id: r34255
Diffstat (limited to 'engines/sword1/logic.cpp')
| -rw-r--r-- | engines/sword1/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/logic.cpp b/engines/sword1/logic.cpp index e7e1fb39a4..2fa108ebdd 100644 --- a/engines/sword1/logic.cpp +++ b/engines/sword1/logic.cpp @@ -1636,7 +1636,7 @@ int Logic::fnQuitGame(Object *cpt, int32 id, int32 a, int32 b, int32 c, int32 d, if (SwordEngine::_systemVars.isDemo) { GUI::MessageDialog dialog("This is the end of the Broken Sword 1 Demo", "OK", NULL); dialog.runModal(); - SwordEngine::_systemVars.engineQuit = true; + g_engine->quitGame(); } else error("fnQuitGame() called"); return fnQuit(cpt, id, 0, 0, 0, 0, 0, 0); |
