Loading

Revision differences

Old revision #p8tcnva6vNew revision #pzm7gfeee
1MakeStation(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); 1MakeStation(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);
   2
   3
   4    int t2 = t + TileOffsByDiagDir(d);
   5
   6    if (IsWaterTile(t2)) {
   7        if (HasTileWaterClass(t2) && GetWaterClass(t2) == WATER_CLASS_RIVER) {
   8            if (HasBit(_me[t2].m6, 0)) {
   9                o = o;
   10            } else {
   11                o = GetTileOwner(t2);
   12            }
   13            o = GetTileOwner(t2);
   14        } else {
   15            if (wc == WATER_CLASS_SEA) {
   16                o = OWNER_WATER;
   17            } else {
   18                o = o;
   19            }
   20        }
   21    }
   22
   23    MakeStation(t2, o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc);