diff options
| author | Jan <> | 2015-10-29 23:11:21 +0100 |
|---|---|---|
| committer | Jan <> | 2015-10-29 23:11:21 +0100 |
| commit | 812d4cf8e256ca9e6268d4ff227c3c434343f4c2 (patch) | |
| tree | a3938efa5c21f6dd629b27199432f4004b1610be /TemplePushing.c4s/Script.c | |
| parent | c9679a587e19b10c8ed7903c854a3b71af1b6a47 (diff) | |
| download | tempelschubsen-812d4cf8e256ca9e6268d4ff227c3c434343f4c2.tar.gz tempelschubsen-812d4cf8e256ca9e6268d4ff227c3c434343f4c2.zip | |
Remove superfluous null-check
Diffstat (limited to 'TemplePushing.c4s/Script.c')
| -rw-r--r-- | TemplePushing.c4s/Script.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
