(show_nuke_capab, show_ship_capab, show_plane_capab, show_land_capab)
(prxy, border, ac_encounter, look, budg): Fix misuse of pr() and PR(): passed formatted string instead of format string and arguments. Correctness depends on argument values and tables not containing '%', which is correct, but fragile.
This commit is contained in:
parent
65168f0d93
commit
b0a5d11a3f
6 changed files with 18 additions and 20 deletions
|
@ -160,9 +160,9 @@ ac_encounter(struct emp_qelem *bomb_list, struct emp_qelem *esc_list,
|
|||
if (sect.sct_own == plane_owner)
|
||||
PR(plane_owner, "Your ");
|
||||
else
|
||||
PR(plane_owner,
|
||||
"%s (#%d) ", cname(sect.sct_own), sect.sct_own);
|
||||
PR(plane_owner, dchr[sect.sct_type].d_name);
|
||||
PR(plane_owner, "%s (#%d) ",
|
||||
cname(sect.sct_own), sect.sct_own);
|
||||
PR(plane_owner, "%s", dchr[sect.sct_type].d_name);
|
||||
changed += map_set(plane_owner,
|
||||
sect.sct_x, sect.sct_y,
|
||||
dchr[sect.sct_type].d_mnem, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue