aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:33:07 +0000
committerEugene Sandulenko2010-06-15 10:33:07 +0000
commitf7c830af26b8a7cac4b8a6864e161f614e0e9e06 (patch)
tree7b3d547ecc06a2da3471bb16d9176518835e6a75
parent81870dba5804b776044f89112976d0110b5c0695 (diff)
downloadscummvm-rg350-f7c830af26b8a7cac4b8a6864e161f614e0e9e06.tar.gz
scummvm-rg350-f7c830af26b8a7cac4b8a6864e161f614e0e9e06.tar.bz2
scummvm-rg350-f7c830af26b8a7cac4b8a6864e161f614e0e9e06.zip
AGI: Fix walking for some versions of KQ4.
svn-id: r49747
-rw-r--r--engines/agi/view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/view.cpp b/engines/agi/view.cpp
index cd3584dcae..03509e81f9 100644
--- a/engines/agi/view.cpp
+++ b/engines/agi/view.cpp
@@ -368,7 +368,7 @@ void AgiEngine::updateViewtable() {
break;
default:
// for KQ4
- if (getVersion() == 0x3086)
+ if (getVersion() == 0x3086 || getGameId() == GID_KQ4)
loop = loopTable4[v->direction];
break;
}