Loading

Revision differences

Old revision #p1pxxabbnNew revision #pmwystspn
39    }  39    }  
40  40  
41    if (GetWaterClass(tile) != WATER_CLASS_RIVER) cost.AddCost(_price[PR_CLEAR_CANAL]);  41    if (GetWaterClass(tile) != WATER_CLASS_RIVER) cost.AddCost(_price[PR_CLEAR_CANAL]);  
  42    CommandCost cost(EXPENSES_CONSTRUCTION);  
  43    cost.AddCost(_price[PR_CLEAR_LOCK]);  
42    return cost;  44    return cost;  
43    return CommandCost(_price[PR_CLEAR_LOCK]);    
44  45  
45} 46}