(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:
frosch 2016-10-02 13:41:56 +00:00
parent d7ee0b6fee
commit 071518f571
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void DrawHillyLandTile(const TileInfo *ti)
if (ti->tileh != SLOPE_FLAT) {
DrawGroundSprite(SPR_FLAT_ROUGH_LAND + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
} 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);
}
}