diff options
author | rubidium <rubidium@openttd.org> | 2009-09-30 21:00:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-30 21:00:35 +0000 |
commit | 00324050930287e25d9a616f12cdf1421c3445e7 (patch) | |
tree | 9b463f5f1c52a367a2b364754d8697ff149145eb /src/vehicle_gui.cpp | |
parent | 2fa312aab9f7bcad6689f9da9dc92b0b096b0247 (diff) | |
download | openttd-00324050930287e25d9a616f12cdf1421c3445e7.tar.xz |
(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index e11220b3d..3fee59bcc 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -663,7 +663,7 @@ static inline void ChangeVehicleWindow(WindowClass window_class, VehicleID from_ if (w != NULL) { w->window_number = to_index; if (w->viewport != NULL) w->viewport->follow_vehicle = to_index; - if (to_index != INVALID_VEHICLE) InvalidateThisWindowData(w, 0); + if (to_index != INVALID_VEHICLE) w->InvalidateData(); } } |