Clean up more unreadable assignments within if conditionals
This commit is contained in:
parent
6459cfce7b
commit
a2ed975ec2
19 changed files with 92 additions and 81 deletions
|
@ -92,7 +92,8 @@ improve(void)
|
|||
sprintf(prompt, "Sector %s has a %s of %d%%. Improve how much? ",
|
||||
xyas(sect.sct_x, sect.sct_y, player->cnum),
|
||||
intrchr[type].in_name, value);
|
||||
if (!(p = getstarg(player->argp[3], prompt, buf)) || !*p)
|
||||
p = getstarg(player->argp[3], prompt, buf);
|
||||
if (!p || !*p)
|
||||
continue;
|
||||
if (!check_sect_ok(§))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue