diff options
author | Gregory Montoir | 2007-02-01 23:27:16 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-02-01 23:27:16 +0000 |
commit | bb3e575e21a99c904f8909f75901894e4f2630dc (patch) | |
tree | 40b7ba55e87fcf1b72ac86b1c168ff4791d370be /engines/scumm | |
parent | 128c05f2b1fdea2c8afacc8300164f39d92dbe30 (diff) | |
download | scummvm-rg350-bb3e575e21a99c904f8909f75901894e4f2630dc.tar.gz scummvm-rg350-bb3e575e21a99c904f8909f75901894e4f2630dc.tar.bz2 scummvm-rg350-bb3e575e21a99c904f8909f75901894e4f2630dc.zip |
don't test akosScaleYTable if actor has no vertical scale factor ; this is consistent with the code in costume.cpp and fixes bug #1329232.
svn-id: r25332
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/akos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp index 5be71c9d49..f32c4467c3 100644 --- a/engines/scumm/akos.cpp +++ b/engines/scumm/akos.cpp @@ -557,7 +557,7 @@ void AkosRenderer::codec1_genericDecode(Codec1 &v1) { len = *src++; do { - if (*scaleytab++ < _scaleY) { + if (_scaleY == 255 || *scaleytab++ < _scaleY) { if (_actorHitMode) { if (color && y == _actorHitY && v1.x == _actorHitX) { _actorHitResult = true; |