@@ -348,12 +348,14 @@ CommandCost CmdTerraformLand(TileIndex t
* @return error or cost of terraforming
*/
CommandCost CmdLevelLand(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, const char *text)
{
if (p1 >= MapSize()) return CMD_ERROR;
_terraform_err_tile = INVALID_TILE;
/* remember level height */
uint oldh = TileHeight(p1);
/* compute new height */
uint h = oldh + p2;
Status change: