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 0fdac279d..efdbd5c2a 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -3027,7 +3027,7 @@ static Track ChooseTrainTrack(Vehicle* v, TileIndex tile, DiagDirection enterdir
* @param v The vehicle
* @return True if a path could be reserved
*/
-bool TryPathReserve(Vehicle *v, bool first_tile_okay, bool mark_as_stuck)
+bool TryPathReserve(Vehicle *v, bool mark_as_stuck, bool first_tile_okay)
{
assert(v->type == VEH_TRAIN && IsFrontEngine(v));