Old revision #pebfhefle | New revision #pnrs6ccbj | ||
---|---|---|---|
1 | bool add_cost; | 1 | bool add_cost; |
2 | /* At this point we got a flat tile with water at the ground | 2 | /* At this point we got a flat tile with water at the ground and no bridge over it. Check for ownership */ |
3 | if (IsWaterTile(tile) && IsCanal(tile)) { | 3 | if (IsWaterTile(tile) && IsCanal(tile)) { |
4 | ret = EnsureNoVehicleOnGround(tile); | 4 | ret = EnsureNoVehicleOnGround(tile); |
5 | if (ret.Failed()) return ret; | 5 | if (ret.Failed()) return ret; |