forked from mirrors/0ad
f189172db6
I think there is a small mismatch between CheckMovement & the vertex pathfinder when computing passability because one is ray-based and the other just uses edges. However, it's out of my reach to fix it for now. This can lead to units being stuck near building edges occasionally. This introduces an un-intrusive recovery strategy (aka a hack) in HandleObstructedMove that should get the units unstuck. Should fix #6114 (to a sufficient extent anyways) Differential Revision: https://code.wildfiregames.com/D4162 This was SVN commit r25786.