aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-20 11:12:10 +0200
committeruruk2013-07-20 11:12:10 +0200
commite70b5167c9ba9e1802482e0123f448b3c2d250c2 (patch)
tree419e85cf4e29c9b3116ce4e09208578323e07c7f /engines/avalanche
parent6f20b8f5a24499cd39c55001afcf99ccc987a113 (diff)
downloadscummvm-rg350-e70b5167c9ba9e1802482e0123f448b3c2d250c2.tar.gz
scummvm-rg350-e70b5167c9ba9e1802482e0123f448b3c2d250c2.tar.bz2
scummvm-rg350-e70b5167c9ba9e1802482e0123f448b3c2d250c2.zip
AVALANCHE: Change computing method of picnum in triptype::andexor().
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 ed64847f3f..1758f1b9ef 100644
--- a/engines/avalanche/trip6.cpp
+++ b/engines/avalanche/trip6.cpp
@@ -151,7 +151,7 @@ void triptype::original() {
void triptype::andexor() {
if ((vanishifstill) && (ix == 0) && (iy == 0))
return;
- byte picnum = face * a.seq + step + 1;
+ byte picnum = face * a.seq + step; // There'll maybe problem because of the different array indexes in Pascal (starting from 1).
_tr->_vm->_graph.drawSprite(_info, picnum, x, y);
}