Changeset - r17835:f631401e690d
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-07-04 22:07:53
frosch@openttd.org
(svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/newgrf_airport.cpp
Show inline comments
 
@@ -171,8 +171,7 @@ static const SpriteGroup *AirportResolve
 
static uint32 AirportGetRandomBits(const ResolverObject *object)
 
{
 
	const Station *st = object->u.airport.st;
 
	const TileIndex tile = object->u.airport.tile;
 
	return (st == NULL ? 0 : st->random_bits) | (tile == INVALID_TILE ? 0 : GetStationTileRandomBits(tile) << 16);
 
	return st == NULL ? 0 : st->random_bits;
 
}
 

	
 
static uint32 AirportGetTriggers(const ResolverObject *object)
0 comments (0 inline, 0 general)