diff options
author | bjarni <bjarni@openttd.org> | 2006-10-10 08:14:30 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-10 08:14:30 +0000 |
commit | 238b34e000b158ee8bf8e1c4dc07b290e937ff72 (patch) | |
tree | 64aaeebbbaf19230f218f88798dbb3ec0de726b7 /aircraft_gui.c | |
parent | 13a0eb3ca6a4eacee4be5032e4c0d4ede2800c1a (diff) | |
download | openttd-238b34e000b158ee8bf8e1c4dc07b290e937ff72.tar.xz |
(svn r6714) -Codechange: replaced a direct manipulation of windows with InvalidateWindowData() in rail_cmd.c
Moved the actual modification of railtype to WE_INVALIDATE_DATA in the train depot handler
-Codechange: added SetWindowDirty() to WE_INVALIDATE_DATA as it made no sense to update the list without making the window dirty
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index 6f358e1af..e17387120 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -548,6 +548,7 @@ static void NewAircraftWndProc(Window *w, WindowEvent *e) case WE_INVALIDATE_DATA: WP(w,buildvehicle_d).data_invalidated = true; + SetWindowDirty(w); break; case WE_DESTROY: |