5 |
| 5 | MakeStation(t2,
|
---|
6 | if (IsWaterTile(t2)) {
| 6 | IsWaterTile(t2) ?
|
---|
7 | if (HasTileWaterClass(t2) && GetWaterClass(t2) == WATER_CLASS_RIVER) {
| 7 | HasTileWaterClass(t2) && GetWaterClass(t2) == WATER_CLASS_RIVER ?
|
---|
8 | if (HasBit(_me[t2].m6, 0)) {
| 8 | HasBit(_me[t2].m6, 0) ?
|
---|
9 | o = o;
| 9 | o :
|
---|
10 | } else {
| 10 | GetTileOwner(t2) :
|
---|
11 | o = GetTileOwner(t2);
| 11 | GetTileOwner(t2) :
|
---|
12 | }
| 12 | wc == WATER_CLASS_SEA ?
|
---|
13 | o = GetTileOwner(t2);
| 13 | OWNER_WATER :
|
---|
14 | } else {
| 14 | o,
|
---|
15 | if (wc == WATER_CLASS_SEA) {
| 15 | sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc);
|
---|
16 | o = OWNER_WATER;
| 16 | } |
---|
17 | } else {
| | |
---|
18 | o = o;
| | |
---|
19 | }
| | |
---|
20 | }
| | |
---|
21 | }
| | |
---|
22 |
| | |
---|
23 | MakeStation(t2, o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc); | | |
---|