diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index c89e1271b..a52cdfed9 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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 { |