Codechange: No need to call DeleteAnimatedTile and DoClearSquare. (#13191)

DoClearSquare calls DeleteAnimatedTile itself so this is effectively a duplicate call.
This commit is contained in:
Peter Nelson
2024-12-23 19:08:03 +00:00
committed by GitHub
parent 90a8d7a953
commit 1cf3a2a726
2 changed files with 1 additions and 6 deletions

View File

@@ -2936,7 +2936,6 @@ static void DoClearTownHouseHelper(TileIndex tile, Town *t, HouseID house)
assert(IsTileType(tile, MP_HOUSE));
DecreaseBuildingCount(t, house);
DoClearSquare(tile);
DeleteAnimatedTile(tile);
DeleteNewGRFInspectWindow(GSF_HOUSES, tile.base());
}