# HG changeset patch # User nemo # Date 1269618920 0 # Node ID 07d4ca3afce38f06d2edc63ef5f3cb65eccfbbc0 # Parent 8bf3b6d9839c453ea8edd8cd42b4038f9b047d1d Remove doubled call of freeEverything diff -r 8bf3b6d9839c -r 07d4ca3afce3 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Fri Mar 26 15:52:47 2010 +0000 +++ b/hedgewars/hwengine.pas Fri Mar 26 15:55:20 2010 +0000 @@ -577,15 +577,11 @@ GetParams(); Randomize(); - if GameType = gmtLandPreview then - begin - GenLandPreview(); - freeEverything(); - end + if GameType = gmtLandPreview then GenLandPreview() else if GameType = gmtSyntax then DisplayUsage() else Game(); - freeEverything; + freeEverything(); if GameType = gmtSyntax then ExitCode:= 1 else