diff options
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 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])); |
