(svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits
This commit is contained in:
@@ -768,6 +768,7 @@ static bool UpdateConsists(int32 p1)
|
|||||||
/* Update the consist of all trains so the maximum speed is set correctly. */
|
/* Update the consist of all trains so the maximum speed is set correctly. */
|
||||||
if (t->IsFrontEngine() || t->IsFreeWagon()) t->ConsistChanged(true);
|
if (t->IsFrontEngine() || t->IsFreeWagon()) t->ConsistChanged(true);
|
||||||
}
|
}
|
||||||
|
InvalidateWindowClassesData(WC_BUILD_VEHICLE, 0);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user