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
|
@ -61,9 +61,8 @@ lboa(void)
|
|||
*/
|
||||
|
||||
/* What are we boarding? */
|
||||
|
||||
if (!(p = getstarg(player->argp[1], "Victim land unit #? ", buf)) ||
|
||||
(def->lnd_uid = atoi(p)) < 0)
|
||||
p = getstarg(player->argp[1], "Victim land unit #? ", buf);
|
||||
if (!p || (def->lnd_uid = atoi(p)) < 0)
|
||||
return RET_SYN;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue