(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
authorrubidium
Sun, 03 Aug 2008 08:20:04 +0000
changeset 9828 cbb4ae9abfe8
parent 9827 338aac16d11b
child 9829 48132d8feffd
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
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));