File diff r9983:53ffb06ce8e5 → r9984:8d9ab6e2809b
src/openttd.cpp
Show inline comments
 
@@ -2522,7 +2522,7 @@ bool AfterLoadGame()
 
		Waypoint *wp;
 
		Owner owner;
 
		FOR_ALL_WAYPOINTS(wp) {
 
			owner = GetTileOwner(wp->xy);
 
			owner = (IsTileType(wp->xy, MP_RAILWAY) && IsRailWaypoint(wp->xy) ? GetTileOwner(wp->xy) : OWNER_NONE);
 
			wp->owner = IsValidPlayerID(owner) ? owner : OWNER_NONE;
 
		}
 
	}