m_intent now uses defines

This commit is contained in:
Mervill
2016-12-03 00:25:44 -08:00
parent 96c93f6b38
commit 481cc07dcf
14 changed files with 24 additions and 22 deletions
+2 -2
View File
@@ -49,7 +49,7 @@
obj_integrity = 20
max_integrity = 20
var/allow_walk = 1 //can we pass through it on walk intent
/obj/structure/holosign/barrier/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(!density)
return 1
@@ -59,7 +59,7 @@
return 1
if(iscarbon(mover))
var/mob/living/carbon/C = mover
if(allow_walk && C.m_intent == "walk")
if(allow_walk && C.m_intent == MOVE_INTENT_WALK)
return 1
/obj/structure/holosign/barrier/engineering