Cosmetics.
This commit is contained in:
parent
aa377df359
commit
d8cb7c48f0
11 changed files with 15 additions and 21 deletions
|
@ -743,9 +743,7 @@ build_bridge(register struct sctstr *sp, register int *vec)
|
|||
xyas(sp->sct_x, sp->sct_y, player->cnum));
|
||||
nav_map(sp->sct_x, sp->sct_y, 1);
|
||||
}
|
||||
if (!
|
||||
(p =
|
||||
getstarg(player->argp[3], "build span in what direction? ", buf))
|
||||
if (!(p = getstarg(player->argp[3], "build span in what direction? ", buf))
|
||||
|| !*p) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -1071,9 +1069,7 @@ build_tower(register struct sctstr *sp, register int *vec)
|
|||
pr("Building from %s\n", xyas(sp->sct_x, sp->sct_y, player->cnum));
|
||||
nav_map(sp->sct_x, sp->sct_y, 1);
|
||||
}
|
||||
if (!
|
||||
(p =
|
||||
getstarg(player->argp[3], "build tower in what direction? ", buf))
|
||||
if (!(p = getstarg(player->argp[3], "build tower in what direction? ", buf))
|
||||
|| !*p) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -171,7 +171,7 @@ sail(void)
|
|||
cp = player->argp[2];
|
||||
if ((*player->argp[0] == 'q') /*qsail command */ ||(cp && *cp == 'q')) {
|
||||
return (show_sail(&nstr));
|
||||
} else if (*player->argp[0] == 'u' /*unsail command */
|
||||
} else if (*player->argp[0] == 'u' /*unsail command */
|
||||
|| (cp && *cp == '-')) {
|
||||
return (cmd_unsail_ship(&nstr));
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue