Baystation12/Baystation12 — pull request #336 by Uristqwerty (2012-01-31 21:41:30+00:00)
Title: Runtime Error fix for Distance_ortho

Runtime Error thread mentioned on with Distance_ortho. It is caused by trying to path to null.

This pull request fixes it in two ways: Handling null properly in Distance_ortho, and returning early if AStar is given a null destination (since it wouldn't reach there anyway, why bother looking for a path? If some code actually tries to reach null, I guess that part should be left out, though I highly doubt SS13 has anything pathing to null...)