[Ohrrpgce] SVN: james/9068 Fix out-of-bounds access with pathfinding NPCs on a wrapping map
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Mon Jul 24 15:14:13 PDT 2017
james
2017-07-24 15:14:12 -0700 (Mon, 24 Jul 2017)
202
Fix out-of-bounds access with pathfinding NPCs on a wrapping map
The code was checking for when tpos = mapsizetiles instead of checking for when tpos >= mapsizetiles which actually happened fairly often
---
U wip/pathfinding.bas
U wip/testgame/a-star.hss
U wip/testgame/a-star.rpg
More information about the Ohrrpgce
mailing list