summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index f40551d49..60c49e332 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1469,10 +1469,11 @@ static void DrawTile_Track(TileInfo *ti)
DrawGroundSprite(image);
foreach_draw_tile_seq(seq, cust->seq) {
- uint32 image = seq->image + relocation;
- DrawSpecialBuilding(image, 0, ti,
- seq->delta_x, seq->delta_y, seq->delta_z,
- seq->width, seq->height, seq->unk);
+ DrawSpecialBuilding(
+ seq->image + relocation, 0, ti,
+ seq->delta_x, seq->delta_y, seq->delta_z,
+ seq->width, seq->height, seq->unk
+ );
}
return;
}