From ea79e4b272fbed8e75d93077df0076201d4cccea Mon Sep 17 00:00:00 2001 From: rockdtben Date: Sat, 10 Dec 2011 14:14:48 +0000 Subject: [PATCH] TG update: Removed some redundant checks git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2652 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm | 2 -- code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm | 2 -- code/modules/mob/living/carbon/alien/humanoid/queen.dm | 2 -- 3 files changed, 6 deletions(-) diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm index ef73a34516..63d1ddcd7d 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm @@ -71,8 +71,6 @@ if(locate(/obj/effect/alien/weeds) in loc) if(health >= 150) adjustToxLoss(5) - if(getToxLoss() > max_plasma) - toxloss = max_plasma else adjustBruteLoss(-5) diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm index dc88ba1535..591789497c 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm @@ -71,8 +71,6 @@ if(locate(/obj/effect/alien/weeds) in loc) if(health >= 125) adjustToxLoss(10) - if(getToxLoss() > max_plasma) - toxloss = max_plasma else adjustBruteLoss(-10) diff --git a/code/modules/mob/living/carbon/alien/humanoid/queen.dm b/code/modules/mob/living/carbon/alien/humanoid/queen.dm index d436f718ae..69a7fb2196 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/queen.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/queen.dm @@ -74,8 +74,6 @@ if(locate(/obj/effect/alien/weeds) in loc) if(health >= 250) adjustToxLoss(20) - if(getToxLoss() > max_plasma) - toxloss = max_plasma else bruteloss -= 5 adjustFireLoss(-5)