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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 16 years ago
parent 96892e081a
commit 13dee60ae1

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

Loading…
Cancel
Save