Fix chance_flee for enemies that move via waypoints

Fixes #758
Merge pull request #759 from dorkster/waypoint_flee

Fix chance_flee for enemies that move via waypoints