File diff r13040:fc076d743e2f → r13041:acd808f364d5
src/subsidy.cpp
Show inline comments
 
@@ -185,7 +185,7 @@ static Subsidy *FindSubsidyPassengerRout
 
		return NULL;
 
	}
 

	
 
	if (DistanceManhattan(src->xy, src->xy) > SUBSIDY_MAX_DISTANCE) return NULL;
 
	if (DistanceManhattan(src->xy, dst->xy) > SUBSIDY_MAX_DISTANCE) return NULL;
 
	if (CheckSubsidyDuplicate(CT_PASSENGERS, ST_TOWN, src->index, ST_TOWN, dst->index)) return NULL;
 

	
 
	Subsidy *s = new Subsidy();