diff options
author | celestar <celestar@openttd.org> | 2005-01-20 08:36:15 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-01-20 08:36:15 +0000 |
commit | f0e616ea2bb0f1a4f15feb8cb4d065de254dc905 (patch) | |
tree | 7fdd85c5fc4a5b9732c1b66e22d0242c48562ad8 /airport_gui.c | |
parent | e9c25f827461083c2d9d2a9ce32bb0f2186b57f2 (diff) | |
download | openttd-f0e616ea2bb0f1a4f15feb8cb4d065de254dc905.tar.xz |
(svn r1573) -Fix: Station and depot building mode is now terminated if the
corresponding windows are closed [ 1104277 ]
Diffstat (limited to 'airport_gui.c')
-rw-r--r-- | airport_gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/airport_gui.c b/airport_gui.c index 54a0e3649..f5537ecc7 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -203,6 +203,10 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) CheckRedrawStationCoverage(w); } break; + + case WE_DESTROY: + ResetObjectToPlace(); + break; } } |