diff options
author | johndoe123 | 2015-11-23 13:22:51 +0100 |
---|---|---|
committer | johndoe123 | 2015-11-23 13:22:51 +0100 |
commit | 1800f9d8dc26e177ac53be3e2cda0a5c19593dc0 (patch) | |
tree | 814df34ba83ec4558e7ee79b6411759f66564265 /engines/sword2 | |
parent | 0dbf4e53c69ccebacde849d134fb94aca6217ef0 (diff) | |
download | scummvm-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 'engines/sword2')
0 files changed, 0 insertions, 0 deletions