summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-06-25 20:04:27 +0000
committerfrosch <frosch@openttd.org>2008-06-25 20:04:27 +0000
commit17de6f9ced5abf6aacbb8db24d5a79b60b9f6900 (patch)
treea7b15549b4ece170cfb8b41902c0bcb29bbde58b /src/town_cmd.cpp
parent7e50278d8e3fb7ea2c06e4be5d49616b60312220 (diff)
downloadopenttd-17de6f9ced5abf6aacbb8db24d5a79b60b9f6900.tar.xz
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 49bf49121..f5f76ec1e 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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) {