@@ -364,28 +364,28 @@ void ClearSnowLine(void)
/** Clear a piece of landscape
* @param tile tile to clear
* @param flags of operation to conduct
* @param p1 unused
* @param p2 unused
*/
int32 CmdLandscapeClear(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
CommandCost CmdLandscapeClear(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
{
SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION);
return _tile_type_procs[GetTileType(tile)]->clear_tile_proc(tile, flags);
}
/** Clear a big piece of landscape
* @param tile end tile of area dragging
* @param p1 start tile of area dragging
int32 CmdClearArea(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
CommandCost CmdClearArea(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
int32 cost, ret, money;
CommandCost cost, ret, money;
int ex;
int ey;
int sx, sy;
int x, y;
bool success = false;