fix bug in scriptapi line_of_sight
fix warnings for pathfinder debug traces
Merge remote-tracking branch 'upstream/master' into math