changeset 4792 | a6fa5fc79715 |
parent 4790 | 69e0d03632c9 |
child 4794 | 23b5ee70e87e |
--- a/train_gui.c Tue Oct 10 07:57:16 2006 +0000 +++ b/train_gui.c Tue Oct 10 08:14:30 2006 +0000 @@ -546,7 +546,9 @@ break; case WE_INVALIDATE_DATA: + if (w->window_number != 0) WP(w,buildvehicle_d).railtype = GetRailType(w->window_number); WP(w,buildvehicle_d).data_invalidated = true; + SetWindowDirty(w); break; case WE_DESTROY: