mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r19861) -Fix (r19814): Silence a warning.
This commit is contained in:
parent
7e5d622f7f
commit
e6bc1150ae
@ -332,7 +332,7 @@ static void PollEvent()
|
||||
if (prev_button_state != mouse_b) {
|
||||
uint diff = prev_button_state ^ mouse_b;
|
||||
while (diff != 0) {
|
||||
int button = FindFirstBit(diff);
|
||||
uint button = FindFirstBit(diff);
|
||||
ClrBit(diff, button);
|
||||
if (HasBit(mouse_b, button)) {
|
||||
/* Pressed mouse button */
|
||||
|
Loading…
Reference in New Issue
Block a user