diff options
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index f38e39524..f513fbc01 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1787,7 +1787,10 @@ static void ReverseTrainDirection(Vehicle *v) } /* update all images */ - for (Vehicle *u = v; u != NULL; u = u->Next()) { u->cur_image = u->GetImage(u->direction); } + for (Vehicle *u = v; u != NULL; u = u->Next()) { + ToggleBit(u->u.rail.flags, VRF_TOGGLE_REVERSE); + u->cur_image = u->GetImage(u->direction); + } ClrBit(v->u.rail.flags, VRF_REVERSING); |