File diff r8839:479975d442dd → r8840:f5c2213cf909
src/ai/trolly/trolly.cpp
Show inline comments
 
@@ -553,7 +553,7 @@ static bool AiNew_CheckVehicleStation(Pl
 
			const Order *order;
 

	
 
			FOR_VEHICLE_ORDERS(v, order) {
 
				if (order->IsType(OT_GOTO_STATION) && GetStation(order->dest) == st) {
 
				if (order->IsType(OT_GOTO_STATION) && GetStation(order->GetDestination()) == st) {
 
					// This vehicle has this city in its list
 
					count++;
 
				}