summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-09-03 19:09:17 +0000
committertron <tron@openttd.org>2006-09-03 19:09:17 +0000
commit69ee8a6840e869974ec40ab84dec42f7d5f403ee (patch)
treee5f09a5b471a54e0ea87a41cdc720b7e6757f324 /aircraft_gui.c
parent3011abf2380d95e4ceac44ba80b91ff4dd6ee21b (diff)
downloadopenttd-69ee8a6840e869974ec40ab84dec42f7d5f403ee.tar.xz
(svn r6359) -Fix: Do not reset the current cursor action when centering on a depot/hangar (noticed by Neonox)
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 377b7a207..7bbb04855 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -833,10 +833,7 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e)
}
break;
- case 9: /* scroll to tile */
- ResetObjectToPlace();
- ScrollMainWindowToTile(w->window_number);
- break;
+ case 9: ScrollMainWindowToTile(w->window_number); break;
}
break;