Clean up more unreadable assignments within if conditionals

This commit is contained in:
Markus Armbruster 2009-03-23 22:43:52 +01:00
parent 6459cfce7b
commit a2ed975ec2
19 changed files with 92 additions and 81 deletions

View file

@ -66,7 +66,8 @@ deli(void)
sprintf(prompt, "%s %s %s threshold or direction or 'query'? ",
xyas(nstr.x, nstr.y, player->cnum),
dchr[sect.sct_type].d_name, ich->i_name);
if (!(p = getstarg(player->argp[3], prompt, buf)) || !*p)
p = getstarg(player->argp[3], prompt, buf);
if (!p || !*p)
return RET_SYN;
if (*p != 'q') {
if (((*p >= '0') && (*p <= '9')) || *p == '+') {