mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits
This commit is contained in:
parent
3f7eb71b17
commit
9309ef58a0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user