Allows timed actions to be performed while drifting (Winter Thaw 2017) (#23384)

* Allows do_after actions to be performed while drifting

* Allows more actions
This commit is contained in:
Xhuis
2017-01-29 13:16:08 +01:00
committed by AnturK
parent c268471d69
commit 24bacc87c1
+3 -2
View File
@@ -275,8 +275,9 @@ Proc for attack log creation, because really why not
break
if(Tloc && (!target || Tloc != target.loc))
. = 0
break
if((Uloc != Tloc || Tloc != user) && !drifting)
. = 0
break
if(needhand)
//This might seem like an odd check, but you can still need a hand even when it's empty