mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 19:09:09 +00:00
(svn r12378) -Fix: refresh vehicle details window when cached values are updated
This commit is contained in:
@@ -290,6 +290,8 @@ void TrainConsistChanged(Vehicle* v)
|
||||
|
||||
/* recalculate cached weights and power too (we do this *after* the rest, so it is known which wagons are powered and need extra weight added) */
|
||||
TrainCargoChanged(v);
|
||||
|
||||
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
|
||||
}
|
||||
|
||||
enum AccelType {
|
||||
|
Reference in New Issue
Block a user