author | peter1138 |
Sun, 15 Oct 2006 20:46:10 +0000 | |
changeset 4856 | 3ed01482b9de |
parent 4855 | 602c44c89d74 |
child 4857 | 983fb5b391b7 |
train_cmd.c | file | annotate | diff | comparison | revisions |
--- a/train_cmd.c Sun Oct 15 19:01:40 2006 +0000 +++ b/train_cmd.c Sun Oct 15 20:46:10 2006 +0000 @@ -1732,6 +1732,8 @@ if (flags & DC_EXEC) { TOGGLEBIT(v->u.rail.flags, VRF_REVERSE_DIRECTION); + InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); + InvalidateWindow(WC_VEHICLE_DETAILS, v->index); } } else { //turn the whole train around