equal
deleted
inserted
replaced
501 SetDParam(3, max_cargo[i]); // {SHORTCARGO} #2 |
501 SetDParam(3, max_cargo[i]); // {SHORTCARGO} #2 |
502 SetDParam(4, _patches.freight_trains); |
502 SetDParam(4, _patches.freight_trains); |
503 DrawString(x, y + 2, FreightWagonMult(i) > 1 ? STR_TOTAL_CAPACITY_MULT : STR_013F_TOTAL_CAPACITY, 0); |
503 DrawString(x, y + 2, FreightWagonMult(i) > 1 ? STR_TOTAL_CAPACITY_MULT : STR_013F_TOTAL_CAPACITY, 0); |
504 } |
504 } |
505 } |
505 } |
|
506 SetDParam(0, v->cargo_feeder_share); |
|
507 DrawString(x, y + 15, STR_FEEDER_CARGO_VALUE, 0); |
506 } |
508 } |
507 } |
509 } |
508 |
510 |
509 static void TrainDetailsWndProc(BaseWindow *w, WindowEvent *e) |
511 static void TrainDetailsWndProc(BaseWindow *w, WindowEvent *e) |
510 { |
512 { |