Loading

Revision differences

Old revision #pebfhefleNew revision #pnrs6ccbj
1    bool add_cost;  1    bool add_cost;  
2    /* At this point we got a flat tile with water at the ground. Do not demolish canal of OWNER_NONE, but check for ownership */  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;