forked from mirror/OpenTTD
(svn r6359) -Fix: Do not reset the current cursor action when centering on a depot/hangar (noticed by Neonox)
This commit is contained in:
@@ -658,10 +658,9 @@ static void TrainDepotWndProc(Window *w, WindowEvent *e)
|
||||
ResetObjectToPlace();
|
||||
ShowBuildTrainWindow(w->window_number);
|
||||
break;
|
||||
case 10:
|
||||
ResetObjectToPlace();
|
||||
ScrollMainWindowToTile(w->window_number);
|
||||
break;
|
||||
|
||||
case 10: ScrollMainWindowToTile(w->window_number); break;
|
||||
|
||||
case 6:
|
||||
TrainDepotClickTrain(w, e->click.pt.x, e->click.pt.y);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user