Change encoding of `not in any group' from space to 0, because that's
friendlier in conditionals: (army, build_ship, build_land, build_plane, doship, doplane, dounit) (flee, check_trade, wing, snxtitem_group, takeover_ship) (takeover_land): Assign 0 instead of space. (carg, lcarg, pr_ship, pr_plane, pr_land, ldump, land, pdump, plan) (retr, lretr, sdump, shi, lnd_list, shp_list, ask_olist, att_prompt) (ask_move_in): Update printing of group. (takeover_plane): Failed to clear wing.
This commit is contained in:
parent
a46de3d997
commit
1b94ddedc3
20 changed files with 38 additions and 44 deletions
|
@ -65,9 +65,8 @@ plan(void)
|
|||
pr("%3d ", plane.pln_own);
|
||||
pr("%4d %-19.19s ", np.cur, plchr[(int)plane.pln_type].pl_name);
|
||||
prxy("%4d,%-4d", plane.pln_x, plane.pln_y, player->cnum);
|
||||
pr(" %c %3d%% %3d %3d %4d %3d %3d",
|
||||
plane.pln_wing, plane.pln_effic,
|
||||
plane.pln_mobil,
|
||||
pr(" %1.1s %3d%% %3d %3d %4d %3d %3d",
|
||||
&plane.pln_wing, plane.pln_effic, plane.pln_mobil,
|
||||
plane.pln_def, plane.pln_tech,
|
||||
plane.pln_range, plane.pln_harden);
|
||||
if (plane.pln_ship >= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue