Files
Polaris/code/defines
Uristqwerty 48706d8778 Distance_ortho runtime/NPE fix
A quick test with get_dist to null shows it returning 127 (the max value it returns). Since Distance_ortho doesn't use get_dist, it doesn't share the distance cap, so I just picked an arbitrary large number.
Double fix: If the destination is null, don't even bother pathing, you won't get there anyway.

Expected new runtime error: some callers of AStar mignt not be expecting it to return null, even though it already would if it can't find a path, or the source loc is null.
2012-01-31 16:32:05 -05:00
..
2012-01-31 02:01:36 -07:00
2012-01-31 16:32:05 -05:00
2012-01-31 02:01:39 -07:00
2012-01-04 18:20:44 -08:00
2012-01-31 02:01:37 -07:00
2012-01-31 16:32:05 -05:00