File diff r12289:a05fa9e13224 → r12290:442d5d533a57
src/train_gui.cpp
Show inline comments
 
@@ -26,7 +26,7 @@ void CcBuildWagon(bool success, TileInde
 
	const Vehicle *found = NULL;
 
	const Train *t;
 
	FOR_ALL_TRAINS(t) {
 
		if (IsFrontEngine(t) && t->tile == tile &&
 
		if (t->IsFrontEngine() && t->tile == tile &&
 
				t->track == TRACK_BIT_DEPOT) {
 
			if (found != NULL) return; // must be exactly one.
 
			found = t;