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
|
@ -63,7 +63,7 @@ carg(void)
|
|||
pr("%4d ", ni.cur);
|
||||
pr("%-4.4s ", mchr[(int)ship.shp_type].m_name);
|
||||
prxy("%4d,%-4d ", ship.shp_x, ship.shp_y, player->cnum);
|
||||
pr("%c ", ship.shp_fleet);
|
||||
pr("%1.1s", &ship.shp_fleet);
|
||||
pr("%4d%%", ship.shp_effic);
|
||||
pr("%4d", ship.shp_item[I_CIVIL]);
|
||||
pr("%4d", ship.shp_item[I_MILIT]);
|
||||
|
@ -112,7 +112,7 @@ lcarg(void)
|
|||
pr("%4d ", ni.cur);
|
||||
pr("%-4.4s ", lchr[(int)land.lnd_type].l_name);
|
||||
prxy("%4d,%-4d ", land.lnd_x, land.lnd_y, player->cnum);
|
||||
pr("%c ", land.lnd_army);
|
||||
pr("%1.1s ", &land.lnd_army);
|
||||
pr("%4d%%", land.lnd_effic);
|
||||
pr("%4d", land.lnd_item[I_CIVIL]);
|
||||
pr("%4d", land.lnd_item[I_MILIT]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue