Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercat2000 committed Jun 19, 2017
1 parent 4c07d79 commit a3d79e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/gamemodes/changeling/powers/mutations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@
if(iscarbon(L))
var/mob/living/carbon/C = L
switch(firer.a_intent)
if(I_HELP)
if(INTENT_HELP)
C.visible_message("<span class='danger'>[L] is pulled by [H]'s tentacle!</span>","<span class='userdanger'>A tentacle grabs you and pulls you towards [H]!</span>")
C.throw_at(get_step_towards(H,C), 8, 2)
return 1

if(I_DISARM)
if(INTENT_DISARM)
var/obj/item/I = C.get_active_hand()
if(I)
if(C.drop_item())
Expand All @@ -332,12 +332,12 @@
to_chat(firer, "<span class='danger'>[C] has nothing in hand to disarm!<span>")
return 0

if(I_GRAB)
if(INTENT_GRAB)
C.visible_message("<span class='danger'>[L] is grabbed by [H]'s tentacle!</span>","<span class='userdanger'>A tentacle grabs you and pulls you towards [H]!</span>")
C.throw_at(get_step_towards(H,C), 8, 2, callback=CALLBACK(H, /mob/proc/tentacle_grab, C))
return 1

if(I_HARM)
if(INTENT_HARM)
C.visible_message("<span class='danger'>[L] is thrown towards [H] by a tentacle!</span>","<span class='userdanger'>A tentacle grabs you and throws you towards [H]!</span>")
C.throw_at(get_step_towards(H,C), 8, 2, callback=CALLBACK(H, /mob/proc/tentacle_stab, C))
return 1
Expand Down

0 comments on commit a3d79e6

Please sign in to comment.