(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)

This commit is contained in:
rubidium 2008-08-03 08:20:04 +00:00
parent 96892e081a
commit 13dee60ae1
1 changed files with 1 additions and 1 deletions

View File

@ -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));