double inv != none check removed
This commit is contained in:
		
							parent
							
								
									8609b8fef8
								
							
						
					
					
						commit
						d697163803
					
				| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user