diff options
author | planetmaker <planetmaker@openttd.org> | 2011-11-14 10:42:47 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-11-14 10:42:47 +0000 |
commit | 9309ef58a0cd1d06bf5741289814db0fb0a9296c (patch) | |
tree | 1b5232a716fff7f1e192b36aaf4910b959b827a6 /src/settings.cpp | |
parent | 3f7eb71b17da7840678c68953729aff156cc500b (diff) | |
download | openttd-9309ef58a0cd1d06bf5741289814db0fb0a9296c.tar.xz |
(svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index b407f39f6..3415108aa 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -768,6 +768,7 @@ static bool UpdateConsists(int32 p1) /* Update the consist of all trains so the maximum speed is set correctly. */ if (t->IsFrontEngine() || t->IsFreeWagon()) t->ConsistChanged(true); } + InvalidateWindowClassesData(WC_BUILD_VEHICLE, 0); return true; } |