added setup option to show dynamite and keys in game panel for EM artwork
[rocksndiamonds.git] / src / game.c
index 14dc59eb8b3d4afb3d0612acee25b480cbf53f8b..dafe7cbfc56f3c67706a06989e63ba845da56c94 100644 (file)
@@ -2626,6 +2626,10 @@ static void DisplayGameControlValues(void)
     if (PANEL_DEACTIVATED(pos))
       continue;
 
+    if (pos->class == get_hash_from_key("extra_panel_items") &&
+       !setup.prefer_extra_panel_items)
+      continue;
+
     gpc->last_value = value;
     gpc->last_frame = frame;