1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(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

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