Changeset - r9828:1f4dd725b864
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-08-03 08:20:04
rubidium@openttd.org
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -3024,13 +3024,13 @@ static Track ChooseTrainTrack(Vehicle* v
 
/**
 
 * Try to reserve a path to a safe position.
 
 *
 
 * @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));
 

	
 
	/* We have to handle depots specially as the track follower won't look
 
	 * at the depot tile itself but starts from the next tile. If we are still
 
	 * inside the depot, a depot reservation can never be ours. */
0 comments (0 inline, 0 general)