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

@ -65,9 +65,8 @@ boar(void)
*/
/* What are we boarding? */
if (!(p = getstarg(player->argp[1], "Victim ship #? ", buf)) ||
(def->shp_uid = atoi(p)) < 0)
p = getstarg(player->argp[1], "Victim ship #? ", buf);
if (!p || (def->shp_uid = atoi(p)) < 0)
return RET_SYN;
/*