From d697163803ea9d1ccbde79640ba199167e0feaea Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Fri, 21 Jan 2022 18:07:49 +0400 Subject: [PATCH] double inv != none check removed --- sources/Zeds/Mean/MeanZombieCrawler.uc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/Zeds/Mean/MeanZombieCrawler.uc b/sources/Zeds/Mean/MeanZombieCrawler.uc index cbc2dce..41288e6 100644 --- a/sources/Zeds/Mean/MeanZombieCrawler.uc +++ b/sources/Zeds/Mean/MeanZombieCrawler.uc @@ -31,8 +31,7 @@ function Poison(KFHumanPawn poisonedPawn) { for (I = poisonedPawn.Inventory; I != none; I = I.Inventory) { - // why we double check Inv != none here??? - if (I != none && MeanPoisonInventory(I) != none) + if (MeanPoisonInventory(I) != none) { bFoundPoison = true; MeanPoisonInventory(I).poisonStartTime = Level.TimeSeconds;