diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 2aa30d750..9826d0c3a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -793,7 +793,7 @@ static bool RoadVehAccelerationModelChanged(int32 p1) /* These windows show acceleration values only when realistic acceleration is on. They must be redrawn after a setting change. */ SetWindowClassesDirty(WC_ENGINE_PREVIEW); - SetWindowClassesDirty(WC_BUILD_VEHICLE); + InvalidateWindowClassesData(WC_BUILD_VEHICLE, 0); SetWindowClassesDirty(WC_VEHICLE_DETAILS); return true; |