X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=dafe7cbfc56f3c67706a06989e63ba845da56c94;hp=14dc59eb8b3d4afb3d0612acee25b480cbf53f8b;hb=47c4aca280552f23a943a701fafeac3e9ebd0e98;hpb=d429eb86c436e864e59f83b391974a76559195d3 diff --git a/src/game.c b/src/game.c index 14dc59eb..dafe7cbf 100644 --- a/src/game.c +++ b/src/game.c @@ -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;