diff options
Diffstat (limited to 'engines')
-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]; |