rnd-20070403-2-src
[rocksndiamonds.git] / src / game.c
index 9fb95c23bad7af9d5302e0e2acf891aea88d86df..d2787a10f8da741baf8f8e6d5433f5a5a789083f 100644 (file)
@@ -2027,6 +2027,8 @@ void DisplayGameControlValues()
 {
   int i;
 
+  game_status = GAME_MODE_PSEUDO_PANEL;
+
   for (i = 0; game_controls[i].nr != -1; i++)
   {
     int nr = game_controls[i].nr;
@@ -2101,7 +2103,7 @@ void DisplayGameControlValues()
       }
       else
       {
-       int graphic = el2doorimg(value);
+       int graphic = el2panelimg(value);
 
        DrawSizedGraphicExt(drawto, dst_x, dst_y, graphic, size);
       }
@@ -2124,6 +2126,8 @@ void DisplayGameControlValues()
 
     redraw_mask |= REDRAW_DOOR_1;
   }
+
+  game_status = GAME_MODE_PLAYING;
 }
 
 void DrawGameValue_Emeralds(int value)