This commit is contained in:
Bedshaped
2016-09-21 07:03:29 +03:00
committed by skull132
parent d4533017ce
commit a28ffd844d
2 changed files with 11 additions and 7 deletions
+5 -7
View File
@@ -116,19 +116,17 @@
/mob/living/carbon/alien/proc/handle_regular_hud_updates()
if(is_ventcrawling == 0) // Stops sight returning to normal if inside a vent
sight = species.vision_flags
if (stat == 2 || (XRAY in src.mutations))
sight |= SEE_TURFS
sight |= SEE_MOBS
sight |= SEE_OBJS
see_in_dark = 8
see_invisible = SEE_INVISIBLE_LEVEL_TWO
else if (stat != 2)
sight &= ~SEE_TURFS
sight &= ~SEE_MOBS
sight &= ~SEE_OBJS
else if (stat != 2 && is_ventcrawling == 0)
if (species.vision_flags)
sight = species.vision_flags
else
sight &= ~(SEE_TURFS|SEE_MOBS|SEE_OBJS)
see_in_dark = 2
see_invisible = SEE_INVISIBLE_LIVING