Replace all uses, so pln_fuel can be removed later.
int pln_def;
int pln_acc;
int pln_load;
- int pln_fuel;
+ int pln_fuel; /* (unused) */
s_char pln_harden; /* for missiles */
s_char pln_nuketype; /* type of nuclear armament (if any) */
s_char pln_flags; /* State of the plane */
plane.pln_radius = 0;
plane.pln_range = UCHAR_MAX; /* will be adjusted by pln_set_tech() */
plane.pln_range_max = plane.pln_range;
- plane.pln_fuel = pp->pl_fuel;
plane.pln_wing = ' ';
plane.pln_ship = -1;
plane.pln_land = -1;
pr(" %d", plane.pln_load);
break;
case 14:
- pr(" %d", plane.pln_fuel);
+ pr(" %d", plchr[(int)plane.pln_type].pl_fuel);
break;
case 15:
pr(" %d", plane.pln_harden);
plane.pln_att,
plane.pln_def,
plane.pln_acc,
- plane.pln_range_max, plane.pln_load, plane.pln_fuel);
+ plane.pln_range_max, plane.pln_load,
+ plchr[(int)plane.pln_type].pl_fuel);
pr("\n");
}