mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!!
This commit is contained in:
parent
4206d8f955
commit
83d3f85636
@ -842,7 +842,7 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e)
|
|||||||
break;
|
break;
|
||||||
} // end of VEH_Aircraft
|
} // end of VEH_Aircraft
|
||||||
}
|
}
|
||||||
} // end of paint
|
} break; // end of paint
|
||||||
|
|
||||||
case WE_CLICK: {
|
case WE_CLICK: {
|
||||||
switch(e->click.widget) {
|
switch(e->click.widget) {
|
||||||
|
Loading…
Reference in New Issue
Block a user