aboutsummaryrefslogtreecommitdiff
path: root/common/unarj.h
diff options
context:
space:
mode:
authorjohndoe1232015-11-23 13:22:51 +0100
committerjohndoe1232015-11-23 13:22:51 +0100
commit1800f9d8dc26e177ac53be3e2cda0a5c19593dc0 (patch)
tree814df34ba83ec4558e7ee79b6411759f66564265 /common/unarj.h
parent0dbf4e53c69ccebacde849d134fb94aca6217ef0 (diff)
downloadscummvm-rg350-1800f9d8dc26e177ac53be3e2cda0a5c19593dc0.tar.gz
scummvm-rg350-1800f9d8dc26e177ac53be3e2cda0a5c19593dc0.tar.bz2
scummvm-rg350-1800f9d8dc26e177ac53be3e2cda0a5c19593dc0.zip
BBVS: Fix bug #6954: Pathfinding bug in Prison
The bug was caused by a check introduced by me to avoid division-by-zero errors when the source and dest x values are equal. This had the side effect that it didn't work well in this case outlined in the bug report, maybe also in other places. I'm not sure how to handle a DBZ correctly here so I'm setting the x delta to 1.0 if it would normally be 0.0, which seems to work after walking around in some scenes.
Diffstat (limited to 'common/unarj.h')
0 files changed, 0 insertions, 0 deletions