rnd-20090722-2-src
[rocksndiamonds.git] / src / game_sp / init.c
index 1324d8e35f4fe57a7b00cadd26888f33c5a8390e..736211c8642a97759295c406ba800bd8765bb5b7 100644 (file)
@@ -35,8 +35,8 @@ static void init_global_values()
   menPanel.Checked = True;
   menAutoScroll.Checked = True;
 
-  MainForm.picPane.Width = picPane.Width = 1935;
-  MainForm.picPane.Height = picPane.Height = 1635;
+  MainForm.picPane.Width  = picPane.Width  = SCR_FIELDX * TILEX;
+  MainForm.picPane.Height = picPane.Height = SCR_FIELDY * TILEY;
 }
 
 void sp_open_all()