(svn r923) Forgot s/rail_vehinfo/RailVehInfo/

This commit is contained in:
tron
2004-12-04 00:34:20 +00:00
parent 56dd31f33b
commit aa183e35d8
3 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ static void engine_drawing_loop(int *x, int *y, int *pos, int *sel,
for (i = 0; i < NUM_TRAIN_ENGINES; i++) {
const Engine *e = DEREF_ENGINE(i);
const RailVehicleInfo *rvi = rail_vehinfo(i);
const RailVehicleInfo *rvi = RailVehInfo(i);
if (e->railtype != railtype || !(rvi->flags & RVI_WAGON) != is_engine ||
!HASBIT(e->player_avail, _local_player))
@@ -128,7 +128,7 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e)
WP(w,buildtrain_d).sel_engine = selected_id;
if (selected_id != -1) {
const RailVehicleInfo *rvi = rail_vehinfo(selected_id);
const RailVehicleInfo *rvi = RailVehInfo(selected_id);
Engine *e;
YearMonthDay ymd;