reverted constructor.
reconstructs pathfinding grid when map changes are reverted.
Merge remote-tracking branch 'origin/master'