diff options
author | frosch <frosch@openttd.org> | 2011-03-13 21:33:30 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-03-13 21:33:30 +0000 |
commit | dd208232770650342d681f50e801b1f2de03aa61 (patch) | |
tree | f5fcc032294467d30e79c92bce794da98f0d386e /src/vehicle.cpp | |
parent | f051a81b4e5064f6b5c1d00f4a7d0ae38f768e35 (diff) | |
download | openttd-dd208232770650342d681f50e801b1f2de03aa61.tar.xz |
(svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index f1dd8a7cd..e3ffbbc91 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2270,7 +2270,7 @@ void Vehicle::RemoveFromShared() } else if (were_first) { /* If we were the first one, update to the new first one. * Note: FirstShared() is already the new first */ - InvalidateWindowData(GetWindowClassForVehicleType(this->type), vli.Pack(), this->FirstShared()->index | (1U << 31), true); + InvalidateWindowData(GetWindowClassForVehicleType(this->type), vli.Pack(), this->FirstShared()->index | (1U << 31)); } this->next_shared = NULL; |