1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

(svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits

This commit is contained in:
planetmaker
2011-11-14 10:42:47 +00:00
parent 3f7eb71b17
commit 9309ef58a0

View File

@@ -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;
}