# HG changeset patch # User nemo # Date 1269280959 0 # Node ID 2847f4f2ce672d820cb69501b814d2b8de41cbb4 # Parent d54b2c718971fb8e1cd7579c436c24be35ff8809 Oops. More like this. (initEverything was being called for Game() and preview in non-iphone already) diff -r d54b2c718971 -r 2847f4f2ce67 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Mon Mar 22 17:59:59 2010 +0000 +++ b/hedgewars/hwengine.pas Mon Mar 22 18:02:39 2010 +0000 @@ -226,7 +226,7 @@ s: shortstring; begin {$IFDEF HWLIBRARY} - initEverything(); + // initEverything(); Randomize(); cBits:= 32; @@ -572,11 +572,8 @@ if GameType = gmtLandPreview then begin -{$IFDEF HWLIBRARY} - // initEverything(); TODO - Koda, please check to see if this is appropriate here -{$ENDIF} GenLandPreview(); - // freeEverything() TODO - Koda, please check if this is also needed here. + // freeEverything() TODO - Koda, please check if this is needed here. end else if GameType = gmtSyntax then DisplayUsage() else Game();