aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-29 04:42:02 +0100
committerTobias Gunkel2012-02-11 08:29:46 +0100
commitcc68a598564285b6f303f90304891f0beef7f1e4 (patch)
tree0ed8feeb08159c83c42abe458a60de1b457b665e /engines/sci/graphics
parent7d409dd15f13f517c083e58d0e5c59ec0776c974 (diff)
downloadscummvm-rg350-cc68a598564285b6f303f90304891f0beef7f1e4.tar.gz
scummvm-rg350-cc68a598564285b6f303f90304891f0beef7f1e4.tar.bz2
scummvm-rg350-cc68a598564285b6f303f90304891f0beef7f1e4.zip
SCUMM: fix diagonal walking in at least MM v0
The comparison "ABS((int)(deltaXFactor >> 16)) > _speedx)" does not work as "deltaXFactor >> 16" will clear the fractional part of deltaXFactor. As a result the deltaXFactor might be bigger than (_speedx<<16) and the actor moves faster than he should.
Diffstat (limited to 'engines/sci/graphics')
0 files changed, 0 insertions, 0 deletions