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
|
@ -60,7 +60,8 @@ grin(void)
|
|||
return RET_SYN;
|
||||
if (!snxtsct(&nstr, p))
|
||||
return RET_SYN;
|
||||
if ((p = getstarg(player->argp[2], "amount : ", buf)) == 0 || *p == 0)
|
||||
p = getstarg(player->argp[2], "amount : ", buf);
|
||||
if (!p || !*p)
|
||||
return RET_SYN;
|
||||
qty = atoi(p);
|
||||
if (qty < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue