Mercurial > hg > openttd
changeset 10111:8de5e55d8d0f draft
(svn r14295) -Fix(r14294): If the house is not built yet, still give me proper coordinates, pretty please!
Plus, two(2) rogue tabs found their way in.
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 12 Sep 2008 17:05:23 +0000 |
parents | 28632b29eb70 |
children | 2fb253914e66 |
files | src/newgrf_house.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -334,7 +334,7 @@ case 0x46: return IsTileType(tile, MP_HOUSE) ? GetHouseAnimationFrame(tile) : 0; /* Position of the house */ - case 0x47: return IsTileType(tile, MP_HOUSE) ? TileY(tile) << 16 | TileX(tile) : 0; + case 0x47: return TileY(tile) << 16 | TileX(tile); /* Building counts for old houses with id = parameter. */ case 0x60: return GetNumHouses(parameter, town);