# HG changeset patch # User rubidium # Date 1217751604 0 # Node ID cbb4ae9abfe8eb13dff41159533ec5981cbb09b9 # Parent 338aac16d11b992ee92c23610cd9cd7bafe45e97 (svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc) diff -r 338aac16d11b -r cbb4ae9abfe8 src/train_cmd.cpp --- a/src/train_cmd.cpp Sun Aug 03 02:18:45 2008 +0000 +++ b/src/train_cmd.cpp Sun Aug 03 08:20:04 2008 +0000 @@ -3027,7 +3027,7 @@ * @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));