From 812d4cf8e256ca9e6268d4ff227c3c434343f4c2 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Thu, 29 Oct 2015 23:11:21 +0100 Subject: Remove superfluous null-check --- TemplePushing.c4s/Script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TemplePushing.c4s') diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c index f37c183..58d53d9 100644 --- a/TemplePushing.c4s/Script.c +++ b/TemplePushing.c4s/Script.c @@ -569,7 +569,7 @@ func LaunchClonk(int player, object clonk, bool relaunch) // Place wipf, save its position and remove it var wipf = PlaceAnimal(WIPF); if (!wipf) continue; - var pos = IIf(wipf, [wipf->GetX(), wipf->GetY()], bestPosition); + var pos = [wipf->GetX(), wipf->GetY()]; if (wipf) wipf->RemoveObject(); // Get distance to closest enemy -- cgit v1.2.3-54-g00ecf