Changeset - r16713:a27a75db3b7b
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2010-12-10 22:18:16
yexo@openttd.org
(svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the id of an original house
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_house.cpp
Show inline comments
 
@@ -288,7 +288,7 @@ static uint32 HouseGetVariable(const Res
 
		case 0x47: return TileY(tile) << 16 | TileX(tile);
 

	
 
		/* Building counts for old houses with id = parameter. */
 
		case 0x60: return GetNumHouses(parameter, town);
 
		case 0x60: return parameter < NEW_HOUSE_OFFSET ? GetNumHouses(parameter, town) : 0;
 

	
 
		/* Building counts for new houses with id = parameter. */
 
		case 0x61: {
0 comments (0 inline, 0 general)