File diff r12499:2e177e6e0453 → r12500:5e5dd00d1e93
src/train_cmd.cpp
Show inline comments
 
@@ -4564,7 +4564,7 @@ void Train::OnNewDay()
 

	
 
		/* update destination */
 
		if (this->current_order.IsType(OT_GOTO_STATION)) {
 
			TileIndex tile = Station::Get(this->current_order.GetDestination())->train_tile;
 
			TileIndex tile = Station::Get(this->current_order.GetDestination())->train_station.tile;
 
			if (tile != INVALID_TILE) this->dest_tile = tile;
 
		}