src/train_gui.cpp
branchcpp_gui
changeset 6285 187e3ef04cc9
parent 6263 19dab6a68886
child 6298 c30fe89622df
equal deleted inserted replaced
6284:45d0233e7d79 6285:187e3ef04cc9
   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 {