- gui_state(kd, _("Most Coins"), GUI_SML, GUI_MOST_COINS,
- score_type == GUI_MOST_COINS);
- gui_state(kd, _("Best Times"), GUI_SML, GUI_BEST_TIMES,
- score_type == GUI_BEST_TIMES);
- gui_state(kd, _("Unlock Goal"), GUI_SML, GUI_UNLOCK_GOAL,
- score_type == GUI_UNLOCK_GOAL);
+ if ((types & GUI_MOST_COINS) == GUI_MOST_COINS)
+ gui_state(kd, _("Most Coins"), GUI_SML, GUI_MOST_COINS,
+ score_type == GUI_MOST_COINS);
+ if ((types & GUI_BEST_TIMES) == GUI_BEST_TIMES)
+ gui_state(kd, _("Best Times"), GUI_SML, GUI_BEST_TIMES,
+ score_type == GUI_BEST_TIMES);
+ if ((types & GUI_UNLOCK_GOAL) == GUI_UNLOCK_GOAL)
+ gui_state(kd, _("Unlock Goal"), GUI_SML, GUI_UNLOCK_GOAL,
+ score_type == GUI_UNLOCK_GOAL);