mirror of https://github.com/OpenTTD/OpenTTD
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
parent
96892e081a
commit
13dee60ae1
|
@ -3027,7 +3027,7 @@ static Track ChooseTrainTrack(Vehicle* v, TileIndex tile, DiagDirection enterdir
|
||||||
* @param v The vehicle
|
* @param v The vehicle
|
||||||
* @return True if a path could be reserved
|
* @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));
|
assert(v->type == VEH_TRAIN && IsFrontEngine(v));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue