equal
deleted
inserted
replaced
314 v->tile == (TileIndex)tile && |
314 v->tile == (TileIndex)tile && |
315 v->u.rail.track == 0x80 && |
315 v->u.rail.track == 0x80 && |
316 --num < 0 && num >= -6) { |
316 --num < 0 && num >= -6) { |
317 |
317 |
318 DrawTrainImage(v, x+21, y, 10, w->hscroll.pos, WP(w,traindepot_d).sel); |
318 DrawTrainImage(v, x+21, y, 10, w->hscroll.pos, WP(w,traindepot_d).sel); |
|
319 /* Draw the train number */ |
319 SET_DPARAM16(0, v->unitnumber); |
320 SET_DPARAM16(0, v->unitnumber); |
320 DrawString(x, y, (v->max_age - 366 < v->age) ? STR_00E3 : STR_00E2, 0); |
321 DrawString(x, y, (v->max_age - 366 < v->age) ? STR_00E3 : STR_00E2, 0); |
|
322 /* Draw the pretty flag */ |
321 DrawSprite(v->vehstatus&VS_STOPPED ? 0xC12 : 0xC13, x+15, y); |
323 DrawSprite(v->vehstatus&VS_STOPPED ? 0xC12 : 0xC13, x+15, y); |
322 |
324 |
323 y += 14; |
325 y += 14; |
324 } |
326 } |
325 } |
327 } |