X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=b050950d7ff899a5894b31fcef21b98f9bc42aa9;hb=0a3ee393edb4d4b0f85bdac395cb2088f81b57c5;hp=1b16a6f995ad6f7313d1aebb0de762f5cbd299b4;hpb=eea88cc5712224a52d4c606795f021be11ef5135;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 1b16a6f9..b050950d 100644 --- a/src/game.c +++ b/src/game.c @@ -2722,7 +2722,7 @@ static void DisplayGameControlValues(void) if (PANEL_DEACTIVATED(pos)) continue; - if (pos->class == get_hash_from_key("extra_panel_items") && + if (pos->class == get_hash_from_string("extra_panel_items") && !setup.prefer_extra_panel_items) continue; @@ -2814,7 +2814,7 @@ static void DisplayGameControlValues(void) int width, height; int dst_x = PANEL_XPOS(pos); int dst_y = PANEL_YPOS(pos); - boolean skip = (pos->class == get_hash_from_key("mm_engine_only") && + boolean skip = (pos->class == get_hash_from_string("mm_engine_only") && level.game_engine_type != GAME_ENGINE_TYPE_MM); if (graphic != IMG_UNDEFINED && !skip)