(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.

This commit is contained in:
frosch
2008-06-25 20:04:27 +00:00
parent 7e50278d8e
commit 17de6f9ced
3 changed files with 43 additions and 19 deletions

View File

@@ -2011,7 +2011,7 @@ static void DoClearTownHouseHelper(TileIndex tile, Town *t, HouseID house)
* @param house Is changed to the HouseID of the north tile of the same house
* @return TileDiff from the tile of the given HouseID to the north tile
*/
static TileIndex GetHouseNorthPart(HouseID &house)
TileIndex GetHouseNorthPart(HouseID &house)
{
if (house >= 3) { // house id 0,1,2 MUST be single tile houses, or this code breaks.
if (GetHouseSpecs(house - 1)->building_flags & TILE_SIZE_2x1) {