aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-25 12:33:03 +0200
committeruruk2013-07-25 12:33:03 +0200
commit6644905eaca4576c5429592b5e892a733ebefbdc (patch)
treeafe6030b2deeac02bce93faae3777ae04098d54d /engines/avalanche
parent502cd7a01791d1812f8b29e9cc36fd5cc2653003 (diff)
downloadscummvm-rg350-6644905eaca4576c5429592b5e892a733ebefbdc.tar.gz
scummvm-rg350-6644905eaca4576c5429592b5e892a733ebefbdc.tar.bz2
scummvm-rg350-6644905eaca4576c5429592b5e892a733ebefbdc.zip
AVALANCHE: Fix cycle in Trip::trippancy_link().
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/trip6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp
index e16efed2dc..0acad63c76 100644
--- a/engines/avalanche/trip6.cpp
+++ b/engines/avalanche/trip6.cpp
@@ -1362,7 +1362,7 @@ void Trip::trippancy_link() {
if (_vm->_gyro->ddmnow | _vm->_gyro->ontoolbar | _vm->_gyro->seescroll)
return;
- for (fv = 1; fv <= numtr; fv++) {
+ for (fv = 0; fv < numtr; fv++) {
if (tr[fv].quick)
tr[fv].walk();
}