From 395b9fc24f612725801391cace3b70e59c381298 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Thu, 29 Oct 2015 23:18:20 +0100 Subject: Remove another superfluous null-check --- TemplePushing.c4s/Script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TemplePushing.c4s/Script.c') diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c index 58d53d9..93a2d46 100644 --- a/TemplePushing.c4s/Script.c +++ b/TemplePushing.c4s/Script.c @@ -570,7 +570,7 @@ func LaunchClonk(int player, object clonk, bool relaunch) var wipf = PlaceAnimal(WIPF); if (!wipf) continue; var pos = [wipf->GetX(), wipf->GetY()]; - if (wipf) wipf->RemoveObject(); + wipf->RemoveObject(); // Get distance to closest enemy var closestEnemy = FindObject2(Find_OCF(OCF_CrewMember | OCF_Alive), Find_Hostile(player), Sort_Distance(pos[0], pos[1])); -- cgit v1.2.3-54-g00ecf