Flying animals no longer triggers mines and mousetraps.

Space carps are flying animals now.
Adding changelog
This commit is contained in:
phil235
2015-04-07 20:20:29 +02:00
parent dd1dac556b
commit 34a2b3be5b
3 changed files with 11 additions and 3 deletions
+4 -2
View File
@@ -104,8 +104,10 @@
triggered(H)
H.visible_message("<span class='warning'>[H] accidentally steps on [src].</span>", \
"<span class='warning'>You accidentally step on [src]</span>")
else if(ismouse(AM))
triggered(AM)
else if(isanimal(AM))
var/mob/living/simple_animal/SA = AM
if(!SA.flying)
triggered(AM)
else if(AM.density) // For mousetrap grenades, set off by anything heavy
triggered(AM)
..()