File diff r12108:f8d8164485bd → r12109:90df01928018
src/signal.cpp
Show inline comments
 
@@ -184,7 +184,7 @@ static SmallSet<DiagDirection, SIG_GLOB_
 
/** Check whether there is a train on rail, not in a depot */
 
static Vehicle *TrainOnTileEnum(Vehicle *v, void *)
 
{
 
	if (v->type != VEH_TRAIN || ((Train *)v)->track == TRACK_BIT_DEPOT) return NULL;
 
	if (v->type != VEH_TRAIN || Train::From(v)->track == TRACK_BIT_DEPOT) return NULL;
 

	
 
	return v;
 
}