(svn r27657) -Change: Replace another occurence of the ancient tilehash function with the newer one. This time to make rough land appear more random.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 8 years ago
parent d7ee0b6fee
commit 071518f571

@ -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);
}
}

Loading…
Cancel
Save