diff options
author | Travis Howell | 2005-05-22 12:45:06 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-22 12:45:06 +0000 |
commit | c3d391582381c8adfb12bd4d41d1fc768f9175d9 (patch) | |
tree | f674ea298cfcef8ded03fc475898937b04ff0797 | |
parent | b804538dbe936ee38ac7b8bdb4d8b9c98001e17a (diff) | |
download | scummvm-rg350-c3d391582381c8adfb12bd4d41d1fc768f9175d9.tar.gz scummvm-rg350-c3d391582381c8adfb12bd4d41d1fc768f9175d9.tar.bz2 scummvm-rg350-c3d391582381c8adfb12bd4d41d1fc768f9175d9.zip |
Minor correction.
svn-id: r18219
-rw-r--r-- | scumm/sprite_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 9fa174ef0b..3e3dc6b30c 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -156,7 +156,7 @@ int ScummEngine_v90he::findSpriteWithClassOf(int x_pos, int y_pos, int spriteGro if (spi->field_80) { int16 x1, x2, y1, y2; - resState = spi->curImageState / getWizImageStates(spi->field_80); + resState = spi->curImageState % getWizImageStates(spi->field_80); x = x_pos - spi->pos.x; y = y_pos - spi->pos.y; |