Engine:
authorsmxx
Mon, 29 Mar 2010 13:37:52 +0000
changeset 3154 32e572debb9c
parent 3153 adfe8a91658f
child 3155 6ae6c2bd98cb
Engine: * Reverted last change as it isn't bugged now or whatever... :P
hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Mon Mar 29 13:35:15 2010 +0000
+++ b/hedgewars/hwengine.pas	Mon Mar 29 13:37:52 2010 +0000
@@ -267,10 +267,11 @@
     SDLTry(TTF_Init() <> -1, true);
     WriteLnToConsole(msgOK);
 
-    s:= SDL_getenv('SDL_VIDEO_CENTERED');
+    (*s:= SDL_getenv('SDL_VIDEO_CENTERED');
     SDL_putenv('SDL_VIDEO_CENTERED=1');
     ShowMainWindow();
-    SDL_putenv(str2pchar('SDL_VIDEO_CENTERED=' + s));
+    SDL_putenv(str2pchar('SDL_VIDEO_CENTERED=' + s));*)
+    ShowMainWindow();
 
     AddProgress();