aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2007-05-28 16:36:18 +0000
committerEugene Sandulenko2007-05-28 16:36:18 +0000
commitbaea10979c794550098c2458016d6762bc9e59c5 (patch)
tree226f9589fb5f4c9f31b9faacf7aad5fea71914e4 /engines
parent97afe587d2dfce6b6e071fb3e79d01ee6841fac2 (diff)
downloadscummvm-rg350-baea10979c794550098c2458016d6762bc9e59c5.tar.gz
scummvm-rg350-baea10979c794550098c2458016d6762bc9e59c5.tar.bz2
scummvm-rg350-baea10979c794550098c2458016d6762bc9e59c5.zip
Partial fix for walking speed in IHNM.
svn-id: r26999
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/actor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp
index c26f06b33a..e92eb1307c 100644
--- a/engines/saga/actor.cpp
+++ b/engines/saga/actor.cpp
@@ -1406,7 +1406,11 @@ void Actor::handleActions(int msec, bool setup) {
}
}
- speed = (ACTOR_LMULT * 2 * actor->_screenScale + 63) / 256;
+ if(_vm->getGameType() == GType_ITE)
+ speed = (ACTOR_LMULT * 2 * actor->_screenScale + 63) / 256;
+ else
+ speed = (72 * actor->_screenScale + 128) / 256;
+
if (speed < 1) {
speed = 1;
}