equal
deleted
inserted
replaced
287 void DrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte stage, HouseID house_id) |
287 void DrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte stage, HouseID house_id) |
288 { |
288 { |
289 const DrawTileSprites *dts = group->g.layout.dts; |
289 const DrawTileSprites *dts = group->g.layout.dts; |
290 const DrawTileSeqStruct *dtss; |
290 const DrawTileSeqStruct *dtss; |
291 |
291 |
292 SpriteID image = dts->ground_sprite; |
292 SpriteID image = dts->ground.sprite; |
293 SpriteID pal = dts->ground_pal; |
293 SpriteID pal = dts->ground.pal; |
294 |
294 |
295 if (IS_CUSTOM_SPRITE(image)) image += stage; |
295 if (IS_CUSTOM_SPRITE(image)) image += stage; |
296 |
296 |
297 if (GB(image, 0, SPRITE_WIDTH) != 0) DrawGroundSprite(image, pal); |
297 if (GB(image, 0, SPRITE_WIDTH) != 0) DrawGroundSprite(image, pal); |
298 |
298 |