summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-01-10 20:10:51 +0000
committerfrosch <frosch@openttd.org>2015-01-10 20:10:51 +0000
commit862e16aa7e14720746f7723f575c05bf52e6ddcf (patch)
tree5b6500d80720ac81c52f2a00b6b0d3b538eb147c
parentfde9997fa31b5aa82e21c95d442129c3e06fc09e (diff)
downloadopenttd-862e16aa7e14720746f7723f575c05bf52e6ddcf.tar.xz
(svn r27117) -Fix/Feature: Make use of both rocky tile sets from the base graphics.
-rw-r--r--src/clear_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp
index ad73ed143..bfa5949bc 100644
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -112,7 +112,7 @@ static void DrawTile_Clear(TileInfo *ti)
break;
case CLEAR_ROCKS:
- DrawGroundSprite(SPR_FLAT_ROCKY_LAND_1 + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
+ DrawGroundSprite((TileHash(ti->x, ti->y) & 1 ? SPR_FLAT_ROCKY_LAND_2 : SPR_FLAT_ROCKY_LAND_1) + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
break;
case CLEAR_FIELDS: