| Old revision #p1pxxabbn | New 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 | |||
| 44 | 45 | ||
| 45 | } | 46 | } |