summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 37a85fb4f..ab28d5093 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -415,7 +415,7 @@ static void DrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *grou
SpriteID image = dts->ground.sprite;
SpriteID pal = dts->ground.pal;
- if (IS_CUSTOM_SPRITE(image)) image += stage;
+ if (HasBit(image, SPRITE_MODIFIER_CUSTOM_SPRITE)) image += stage;
if (GB(image, 0, SPRITE_WIDTH) != 0) {
DrawGroundSprite(image, GroundSpritePaletteTransform(image, pal, palette));