(svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window.

This commit is contained in:
terkhen
2010-03-06 13:03:17 +00:00
parent f27186e617
commit e6a1b2d92e
2 changed files with 26 additions and 7 deletions

View File

@@ -793,7 +793,7 @@ static bool RoadVehAccelerationModelChanged(int32 p1)
/* These windows show acceleration values only when realistic acceleration is on. They must be redrawn after a setting change. */
SetWindowClassesDirty(WC_ENGINE_PREVIEW);
SetWindowClassesDirty(WC_BUILD_VEHICLE);
InvalidateWindowClassesData(WC_BUILD_VEHICLE, 0);
SetWindowClassesDirty(WC_VEHICLE_DETAILS);
return true;