diff options
author | rubidium <rubidium@openttd.org> | 2008-08-03 08:20:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-03 08:20:04 +0000 |
commit | 13dee60ae1a37194a26b1a058d88ebe409df5fff (patch) | |
tree | 2256fb521ae5abacebb4653f2bb501523a72a1a7 | |
parent | 96892e081a61b2f46bb94a41d6e2b39359b789e7 (diff) | |
download | openttd-13dee60ae1a37194a26b1a058d88ebe409df5fff.tar.xz |
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
-rw-r--r-- | src/train_cmd.cpp | 2 |
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)); |