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

@ -58,8 +58,8 @@ hard(void)
if (!snxtitem(&ni, EF_PLANE, player->argp[1], NULL))
return RET_SYN;
if ((p = getstarg(player->argp[2], "Increase by? ", buf)) == 0
|| *p == 0)
p = getstarg(player->argp[2], "Increase by? ", buf);
if (!p || !*p)
return RET_SYN;
level = atoi(p);
if (level < 0)