(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles.

This commit is contained in:
terkhen
2010-03-06 12:59:28 +00:00
parent f78a386b87
commit f27186e617
5 changed files with 82 additions and 17 deletions

View File

@@ -791,6 +791,11 @@ 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);
SetWindowClassesDirty(WC_VEHICLE_DETAILS);
return true;
}