mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 09:59:10 +00:00
(svn r11752) -Fix(r11745): Silence a MSVC warning (glx)
This commit is contained in:
@@ -546,7 +546,8 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
|
||||
const GameSettingData *gsd = &_game_setting_info[i];
|
||||
value = ((GDType*)&_opt_mod_temp.diff)[i];
|
||||
|
||||
DrawArrowButtons(5, y, 3, HasBit(_difficulty_click_a, i) | HasBit(_difficulty_click_b, i) << 1,
|
||||
DrawArrowButtons(5, y, 3,
|
||||
!!HasBit(_difficulty_click_a, i) | !!HasBit(_difficulty_click_b, i) << 1,
|
||||
!(HasBit(disabled, i) || gsd->min == value),
|
||||
!(HasBit(disabled, i) || gsd->max == value));
|
||||
|
||||
|
Reference in New Issue
Block a user