hedgewars/hwengine.pas
changeset 3490 016b3172b645
parent 3487 b1d00f1950c8
child 3492 07256e1ad559
--- a/hedgewars/hwengine.pas	Tue Jun 01 19:33:45 2010 +0000
+++ b/hedgewars/hwengine.pas	Wed Jun 02 13:52:23 2010 +0000
@@ -245,7 +245,6 @@
 begin
 {$IFDEF HWLIBRARY}
     initEverything();
-    Randomize();
 
     cBits:= 32;
     cFullScreen:= false;
@@ -417,6 +416,8 @@
     initEverything();
     WriteLnToConsole('Preview connecting on port ' + inttostr(port));
     ipcPort:= port;
+    // this function is so quick that we need slow it down
+    SDL_Delay(250);
 {$ENDIF}
     InitIPC;
     IPCWaitPongEvent;