MakeStation(t + TileOffsByDiagDir(d), IsWaterTile(t + TileOffsByDiagDir(d)) ? HasTileWaterClass(t + TileOffsByDiagDir(d)) && GetWaterClass(t + TileOffsByDiagDir(d)) == WATER_CLASS_RIVER ? HasBit(_me[t + TileOffsByDiagDir(d)].m6, 0) ? o : GetTileOwner(t + TileOffsByDiagDir(d)) : GetTileOwner(t + TileOffsByDiagDir(d)) : wc == WATER_CLASS_SEA ? OWNER_WATER : o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc);
int t2 = t + TileOffsByDiagDir(d);
/* I need a big comment here */
if (IsWaterTile(t2)) {
if (HasTileWaterClass(t2) && GetWaterClass(t2) == WATER_CLASS_RIVER) {
if (HasBit(_me[t2].m6, 0)) {
} else {
o = GetTileOwner(t2);
}
o = GetTileOwner(t2);
} else {
if (wc == WATER_CLASS_SEA) {
o = OWNER_WATER;
} else {
}
}
}
MakeStation(t2, o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc);