AStar update

This commit is contained in:
Markolie
2015-10-01 20:18:05 +02:00
parent 7ae1022ee0
commit e9188f7f38
7 changed files with 45 additions and 104 deletions
@@ -618,7 +618,7 @@ It can still be worn/put on as normal.
if(!source || !target) return //Target or source no longer exist
if(source.loc != s_loc) return //source has moved
if(target.loc != t_loc) return //target has moved
if (LinkBlockedUnclimbable(t_loc, s_loc)) return
if(!in_range(source, target)) return
if(item && source.get_active_hand() != item) return //Swapped hands / removed item from the active one
if ((source.restrained() || source.stat)) return //Source restrained or unconscious / dead
if(target.frozen)