diff options
author | Filippos Karapetis | 2008-06-08 16:42:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-06-08 16:42:12 +0000 |
commit | 458c7185d92a9e5ac53663733043c8b73e964f4e (patch) | |
tree | 00a4f4889e67e95949e7f7adebae22248b9fd3a2 /engines/drascula | |
parent | 069ffd4b701db0ff8faf1bd163945c3a0d99b494 (diff) | |
download | scummvm-rg350-458c7185d92a9e5ac53663733043c8b73e964f4e.tar.gz scummvm-rg350-458c7185d92a9e5ac53663733043c8b73e964f4e.tar.bz2 scummvm-rg350-458c7185d92a9e5ac53663733043c8b73e964f4e.zip |
quitGame() -> endChapter()
svn-id: r32620
Diffstat (limited to 'engines/drascula')
-rw-r--r-- | engines/drascula/drascula.cpp | 8 | ||||
-rw-r--r-- | engines/drascula/drascula.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index b041bddbf6..c5e2b49106 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -201,10 +201,10 @@ int DrasculaEngine::go() { assignDefaultPalette(); if (!runCurrentChapter()) { - quitGame(); + endChapter(); break; } - quitGame(); + endChapter(); if (currentChapter == 6) break; @@ -214,7 +214,7 @@ int DrasculaEngine::go() { return 0; } -void DrasculaEngine::quitGame() { +void DrasculaEngine::endChapter() { stopSound(); clearRoom(); black(); @@ -632,7 +632,7 @@ void DrasculaEngine::updateEvents() { break; case Common::EVENT_QUIT: // TODO - quitGame(); + endChapter(); _system->quit(); break; default: diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h index 56ec856675..7168229957 100644 --- a/engines/drascula/drascula.h +++ b/engines/drascula/drascula.h @@ -235,7 +235,7 @@ public: void allocMemory(); void freeMemory(); - void quitGame(); + void endChapter(); void loadPic(int roomNum, byte *targetSurface, int colorCount = 1) { char rm[20]; |