hedgewars/hwengine.dpr
changeset 1121 d595dc56b4f3
parent 1120 eb5a9f86f9c6
child 1127 7e1b94a0fc1f
--- a/hedgewars/hwengine.dpr	Sun Jul 27 19:37:24 2008 +0000
+++ b/hedgewars/hwengine.dpr	Sun Jul 27 19:47:12 2008 +0000
@@ -156,7 +156,7 @@
 		SDL_KEYDOWN: if GameState = gsChat then KeyPressChat(event.key.keysym.unicode);
 		SDL_ACTIVEEVENT: if (event.active.state and SDL_APPINPUTFOCUS) <> 0 then
 				cHasFocus:= event.active.gain = 1;
-		SDL_VIDEORESIZE: Resize(max(event.resize.w, 320), max(event.resize.h, 240));
+		SDL_VIDEORESIZE: Resize(max(event.resize.w, 600), max(event.resize.h, 450));
 		SDL_QUITEV: isTerminated:= true
 		end;
 CurrTime:= SDL_GetTicks;
@@ -187,6 +187,8 @@
 14: begin
      val(ParamStr(2), cScreenWidth);
      val(ParamStr(3), cScreenHeight);
+     cInitWidth:= cScreenWidth;
+     cInitHeight:= cScreenHeight;
      cBitsStr:= ParamStr(4);
      val(cBitsStr, cBits);
      val(ParamStr(5), ipcPort);