From f4387004025efb3860a2934ed6d82a7e6f1cd716 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 9 May 2008 09:29:27 +0000 Subject: (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. --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_gui.cpp') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index c35560e77..d2b19763e 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -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(); -- cgit v1.2.3-70-g09d2