1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Revert U-turns block. Actually possible in H3 and has unintended side

effects
This commit is contained in:
Ivan Savenko 2023-12-09 18:09:38 +02:00
parent 902db091da
commit 2261298d09

View File

@ -162,9 +162,6 @@ void CPathfinder::calculatePaths()
if(neighbour->locked)
continue;
if (source.node->theNodeBefore && source.node->theNodeBefore->coord == neighbour->coord )
continue; // block U-turns
if(!hlp->isLayerAvailable(neighbour->layer))
continue;