summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 89d661fe2..31c0eccad 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -1640,7 +1640,7 @@ static void ReverseTrainSwapVeh(Train *v, int l, int r)
}
Swap(a->track, b->track);
- Swap(a->direction, b->direction);
+ Swap(a->direction, b->direction);
/* toggle direction */
if (a->track != TRACK_BIT_DEPOT) a->direction = ReverseDir(a->direction);