author | nemo |
Fri, 26 Mar 2010 15:55:20 +0000 | |
changeset 3078 | 07d4ca3afce3 |
parent 3077 | 8bf3b6d9839c |
child 3079 | 8deb4e8f5172 |
--- 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