(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
1 changed files with 1 additions and 0 deletions

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