aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon
diff options
context:
space:
mode:
Diffstat (limited to 'engines/griffon')
-rw-r--r--engines/griffon/engine.cpp4
-rw-r--r--engines/griffon/griffon.cpp3
-rw-r--r--engines/griffon/griffon.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/engines/griffon/engine.cpp b/engines/griffon/engine.cpp
index b23dae9e5d..19519bb3da 100644
--- a/engines/griffon/engine.cpp
+++ b/engines/griffon/engine.cpp
@@ -85,6 +85,8 @@ void GriffonEngine::mainLoop() {
_pmenu = false;
}
+ _gameMode = kGameModePlay;
+
do {
if (!_forcePause) {
updateAnims();
@@ -105,7 +107,7 @@ void GriffonEngine::mainLoop() {
_console->onFrame();
updateEngine();
- } while (!_shouldQuit && _gameMode != kGameModeEnd);
+ } while (!_shouldQuit && _gameMode != kGameModeEnd && _gameMode != kGameModeNewGame);
}
void GriffonEngine::updateEngine() {
diff --git a/engines/griffon/griffon.cpp b/engines/griffon/griffon.cpp
index 74517b47ae..85e1e367ae 100644
--- a/engines/griffon/griffon.cpp
+++ b/engines/griffon/griffon.cpp
@@ -138,7 +138,8 @@ Common::Error GriffonEngine::run() {
return Common::kNoError;
while (!_shouldQuit) {
- title(0);
+ if (_gameMode != kGameModeNewGame)
+ title(0);
if (_gameMode == kGameModeNewGame) {
newGame();
diff --git a/engines/griffon/griffon.h b/engines/griffon/griffon.h
index 6206c91332..611ecc8de2 100644
--- a/engines/griffon/griffon.h
+++ b/engines/griffon/griffon.h
@@ -325,7 +325,8 @@ enum {
kGameModeEnd,
kGameModeSaveLoad,
kGameModeNewGame,
- kGameModeLoadGame
+ kGameModeLoadGame,
+ kGameModePlay
};
class GriffonEngine : public Engine {