aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-06-05 02:35:38 +0000
committerTravis Howell2009-06-05 02:35:38 +0000
commit9ca2345fc13c9422f118ed00039e2fd900383fd5 (patch)
tree11c9c525e03ddbbad5d91ba6a02f62a0344b785f
parent3c58a6ca8f1e74bc9f7ba7022d01b95710d5b03e (diff)
downloadscummvm-rg350-9ca2345fc13c9422f118ed00039e2fd900383fd5.tar.gz
scummvm-rg350-9ca2345fc13c9422f118ed00039e2fd900383fd5.tar.bz2
scummvm-rg350-9ca2345fc13c9422f118ed00039e2fd900383fd5.zip
Fix issues selecting some items in arttime and football.
svn-id: r41188
-rw-r--r--engines/scumm/he/sprite_he.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/he/sprite_he.cpp b/engines/scumm/he/sprite_he.cpp
index 1e694ff067..aed03f746b 100644
--- a/engines/scumm/he/sprite_he.cpp
+++ b/engines/scumm/he/sprite_he.cpp
@@ -151,6 +151,7 @@ int Sprite::findSpriteWithClassOf(int x_pos, int y_pos, int spriteGroupId, int t
if (spi->maskImage) {
int32 x1, x2, y1, y2;
+ image = spi->maskImage;
imageState = spi->curImageState % _vm->_wiz->getWizImageStates(spi->maskImage);
pos[0].x = x_pos - spi->pos.x;