FIX: Linda airflow affecting mob when it shouldn't

This commit fixes Linda airflow affecting AI eyes, blob overminds,
observers, and replaces the magboot check for humans with a better
version.
This commit is contained in:
Tigercat2000
2015-05-15 05:08:48 -07:00
parent 2f0c19963a
commit 49bf914c14
4 changed files with 10 additions and 5 deletions
@@ -229,6 +229,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(A)
A.Entered(src)
/mob/dead/observer/experience_pressure_difference()
return 0
/mob/dead/observer/examine()
if(usr)
usr << desc
@@ -492,10 +492,8 @@ emp_act
/mob/living/carbon/human/experience_pressure_difference(pressure_difference, direction)
if(shoes)
if(istype(shoes,/obj/item/clothing/shoes/magboots)) //TODO: Make a not-shit shoe var system to negate airflow.
var/obj/item/clothing/shoes/magboots/MB = shoes
if(MB.magpulse)
return 0
if(istype(shoes,/obj/item/clothing/shoes/magboots) && (shoes.flags & NOSLIP)) //TODO: Make a not-shit shoe var system to negate airflow.
return 0
..()
/mob/living/carbon/human/water_act(volume, temperature, source)
@@ -77,6 +77,9 @@
return
return ai.eyeobj.loc
/mob/aiEye/experience_pressure_difference()
return 0
// AI MOVEMENT
// The AI's "eye". Described on the top of the page.