equal
deleted
inserted
replaced
316 } |
316 } |
317 case WATER_DEPOT: |
317 case WATER_DEPOT: |
318 if (flags & DC_AUTO) return_cmd_error(STR_2004_BUILDING_MUST_BE_DEMOLISHED); |
318 if (flags & DC_AUTO) return_cmd_error(STR_2004_BUILDING_MUST_BE_DEMOLISHED); |
319 |
319 |
320 return RemoveShipDepot(tile, flags); |
320 return RemoveShipDepot(tile, flags); |
321 } |
321 default: NOT_REACHED(); |
|
322 } |
|
323 |
|
324 return 0; // useless but silences warning |
322 } |
325 } |
323 |
326 |
324 // return true if a tile is a water tile. |
327 // return true if a tile is a water tile. |
325 static bool IsWateredTile(TileIndex tile) |
328 static bool IsWateredTile(TileIndex tile) |
326 { |
329 { |