diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index e4379f2b2..2aa30d750 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -791,6 +791,11 @@ 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); + SetWindowClassesDirty(WC_VEHICLE_DETAILS); + return true; } |