forked from mirror/OpenTTD
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
This commit is contained in:
@@ -655,7 +655,7 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
|
||||
break;
|
||||
} break;
|
||||
|
||||
case WE_MOUSELOOP: /* Handle the visual 'clicking' of the buttons */
|
||||
case WE_TICK: /* Handle the visual 'clicking' of the buttons */
|
||||
if (diffic_d->timeout != 0) {
|
||||
diffic_d->timeout--;
|
||||
if (diffic_d->timeout == 0) diffic_d->clicked_button = NO_SETTINGS_BUTTON;
|
||||
|
Reference in New Issue
Block a user