mirror of https://github.com/OpenTTD/OpenTTD
(svn r12378) -Fix: refresh vehicle details window when cached values are updated
parent
e2ec1e7032
commit
2b86efea74
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue