diff options
author | Paul Gilbert | 2011-11-09 19:34:43 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-11-09 19:34:43 +1100 |
commit | 17027a7afc8db73ee136d481781fe4cdfd7ea7ef (patch) | |
tree | 0984fd9db962e589f8b6c379aaa72128cc509e3a /engines | |
parent | 302c733df9105439b49752cf9d7eb09aefe7f794 (diff) | |
download | scummvm-rg350-17027a7afc8db73ee136d481781fe4cdfd7ea7ef.tar.gz scummvm-rg350-17027a7afc8db73ee136d481781fe4cdfd7ea7ef.tar.bz2 scummvm-rg350-17027a7afc8db73ee136d481781fe4cdfd7ea7ef.zip |
CGE: Properly stop player moving when saving or restoring
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/cge_main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 8798a7f793..cb03517963 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -277,6 +277,7 @@ Common::String CGEEngine::generateSaveName(int slot) { Common::Error CGEEngine::loadGameState(int slot) { // Clear current game activity sceneDown(); + _hero->park(); resetGame(); // Load the game @@ -295,6 +296,7 @@ void CGEEngine::resetGame() { Common::Error CGEEngine::saveGameState(int slot, const Common::String &desc) { sceneDown(); + _hero->park(); _oldLev = _lev; // Write out the user's progress @@ -692,6 +694,7 @@ void CGEEngine::qGame() { debugC(1, kCGEDebugEngine, "CGEEngine::qGame()"); sceneDown(); + _hero->park(); _oldLev = _lev; // Write out the user's progress |