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:
@@ -2157,7 +2157,7 @@ static void VehicleViewWndProc(Window *w, WindowEvent *e)
|
||||
DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
|
||||
break;
|
||||
|
||||
case WE_MOUSELOOP: {
|
||||
case WE_TICK: {
|
||||
const Vehicle *v = GetVehicle(w->window_number);
|
||||
bool veh_stopped = v->IsStoppedInDepot();
|
||||
|
||||
|
Reference in New Issue
Block a user