mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-04 10:17:08 +01:00
(svn r27657) -Change: Replace another occurence of the ancient tilehash function with the newer one. This time to make rough land appear more random.
This commit is contained in:
parent
d7ee0b6fee
commit
071518f571
@ -56,7 +56,7 @@ void DrawHillyLandTile(const TileInfo *ti)
|
|||||||
if (ti->tileh != SLOPE_FLAT) {
|
if (ti->tileh != SLOPE_FLAT) {
|
||||||
DrawGroundSprite(SPR_FLAT_ROUGH_LAND + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
|
DrawGroundSprite(SPR_FLAT_ROUGH_LAND + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
|
||||||
} else {
|
} else {
|
||||||
DrawGroundSprite(_landscape_clear_sprites_rough[GB(ti->x ^ ti->y, 4, 3)], PAL_NONE);
|
DrawGroundSprite(_landscape_clear_sprites_rough[GB(TileHash(ti->x, ti->y), 0, 3)], PAL_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user