(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID

This commit is contained in:
frosch
2008-02-15 18:40:42 +00:00
parent fd0f57a794
commit a40d761d7f
13 changed files with 63 additions and 64 deletions

View File

@@ -1114,7 +1114,7 @@ static void DrawTile_Road(TileInfo *ti)
dts = &_road_depot[GetRoadDepotDirection(ti->tile)];
}
DrawGroundSprite(dts->ground_sprite, PAL_NONE);
DrawGroundSprite(dts->ground.sprite, PAL_NONE);
for (dtss = dts->seq; dtss->image.sprite != 0; dtss++) {
SpriteID image = dtss->image.sprite;
@@ -1149,7 +1149,7 @@ void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt)
x += 33;
y += 17;
DrawSprite(dts->ground_sprite, PAL_NONE, x, y);
DrawSprite(dts->ground.sprite, PAL_NONE, x, y);
for (dtss = dts->seq; dtss->image.sprite != 0; dtss++) {
Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z);