Old revision #piy9msgw1 | New revision #psiivpgdr | ||
---|---|---|---|
54 | if (c != NULL) { | 54 | if (c != NULL) { |
55 | /* Counts for the water. */ | 55 | /* Counts for the water. */ |
56 | if (!IsWaterTile(tile - delta)) c->infrastructure.water++; | 56 | if (!IsWaterTile(tile - delta)) c->infrastructure.water++; |
57 | if (!IsWaterTile(tile)) c->infrastructure.water++; | ||
57 | if (!IsWaterTile(tile + delta)) c->infrastructure.water++; | 58 | if (!IsWaterTile(tile + delta)) c->infrastructure.water++; |
58 | /* Count for the lock itself. */ | 59 | /* Count for the lock itself. */ |
59 | c->infrastructure.water += 3 * LOCK_DEPOT_TILE_FACTOR; // Lock is three tiles. | 60 | c->infrastructure.water += 3 * LOCK_DEPOT_TILE_FACTOR; // Lock is three tiles. |