From 6644905eaca4576c5429592b5e892a733ebefbdc Mon Sep 17 00:00:00 2001 From: uruk Date: Thu, 25 Jul 2013 12:33:03 +0200 Subject: AVALANCHE: Fix cycle in Trip::trippancy_link(). --- engines/avalanche/trip6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/avalanche') 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(); } -- cgit v1.2.3