rnd-20060314-1-src
[rocksndiamonds.git] / src / screens.c
index ed937406044ecf2e7479b0f47ca1288335f53805..fd78deb5d491bdd1122b4b9e70f2410bf15f3cdc 100644 (file)
@@ -2064,12 +2064,6 @@ static struct TokenInfo setup_info_game[] =
 
 static struct TokenInfo setup_info_editor[] =
 {
-#if 0
-  { TYPE_STRING,       NULL,                   "Offer Special Elements:"},
-#endif
-
-#if 0
-#else
   { TYPE_SWITCH,       &setup.editor.el_boulderdash,   "Boulder Dash:" },
   { TYPE_SWITCH,       &setup.editor.el_emerald_mine,  "Emerald Mine:" },
   { TYPE_SWITCH, &setup.editor.el_emerald_mine_club,   "Emerald Mine Club:" },
@@ -2078,7 +2072,6 @@ static struct TokenInfo setup_info_editor[] =
   { TYPE_SWITCH,       &setup.editor.el_supaplex,      "Supaplex:"     },
   { TYPE_SWITCH,       &setup.editor.el_diamond_caves, "Diamond Caves II:" },
   { TYPE_SWITCH,       &setup.editor.el_dx_boulderdash,"DX-Boulderdash:" },
-#endif
   { TYPE_SWITCH,       &setup.editor.el_chars,         "Text Characters:" },
   { TYPE_SWITCH,       &setup.editor.el_custom,  "Custom & Group Elements:" },
   { TYPE_SWITCH,       &setup.editor.el_headlines,     "Headlines:"    },
@@ -3200,6 +3193,14 @@ void HandleGameActions()
 
     recorded_player_action = (tape.playing ? TapePlayAction() : NULL);
 
+#if 1
+    if (tape.set_centered_player)
+    {
+      game.centered_player_nr_next = tape.centered_player_nr_next;
+      game.set_centered_player = TRUE;
+    }
+#endif
+
 #if 1
     /* !!! CHECK THIS (tape.pausing is always FALSE here!) !!! */
     if (recorded_player_action == NULL && tape.pausing)