fixes ventcrawling & flying mobs making footstep sounds (#40317)

This commit is contained in:
ShizCalev
2018-09-18 11:15:20 -04:00
committed by yogstation13-bot
parent 4b672b22dd
commit a25a7aafe7
3 changed files with 4 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
var/mob/living/LM = parent
var/v = volume
var/e = e_range
if(!T.footstep || LM.lying || !LM.canmove || LM.resting || LM.buckled || LM.throwing)
if(!T.footstep || LM.lying || !LM.canmove || LM.resting || LM.buckled || LM.throwing || LM.movement_type & (VENTCRAWLING | FLYING))
return
if(iscarbon(LM))
var/mob/living/carbon/C = LM