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
|
@ -67,8 +67,9 @@ tend(void)
|
|||
char prompt[512];
|
||||
char buf[1024];
|
||||
|
||||
if (!(p = getstarg(player->argp[1],
|
||||
"Tend what commodity (or 'land')? ", buf)) || !*p)
|
||||
p = getstarg(player->argp[1], "Tend what commodity (or 'land')? ",
|
||||
buf);
|
||||
if (!p || !*p)
|
||||
return RET_SYN;
|
||||
|
||||
if (!strncmp(p, "land", 4))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue