aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-06 15:29:09 +0000
committerJohannes Schickel2008-04-06 15:29:09 +0000
commitabf7914b8137b47f98bbad09c70c86f7f2cb0cc4 (patch)
tree9e9c760043c44d661e73ccaed48ea9c1133725de /engines/kyra
parent9c590436648a8b13c1a06e785eed367a47db2ed9 (diff)
downloadscummvm-rg350-abf7914b8137b47f98bbad09c70c86f7f2cb0cc4.tar.gz
scummvm-rg350-abf7914b8137b47f98bbad09c70c86f7f2cb0cc4.tar.bz2
scummvm-rg350-abf7914b8137b47f98bbad09c70c86f7f2cb0cc4.zip
Fixed walkspeed on save loading.
svn-id: r31435
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/saveload_v2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/saveload_v2.cpp b/engines/kyra/saveload_v2.cpp
index fea7ea5c19..94824c9895 100644
--- a/engines/kyra/saveload_v2.cpp
+++ b/engines/kyra/saveload_v2.cpp
@@ -323,6 +323,11 @@ void KyraEngine_v2::loadGame(const char *fileName) {
if (setFlag1EE)
setGameFlag(0x1EE);
+
+ // We didn't explicitly set the walk speed, but it's saved as part of
+ // the _timers array, so we need to re-sync it with _configWalkspeed.
+ setWalkspeed(_configWalkspeed);
}
} // end of namespace Kyra
+