(lload): Simplify.
This commit is contained in:
parent
fdc790db61
commit
0e11700d12
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ lload(void)
|
|||
if (!snxtitem(&nbst, EF_LAND, p))
|
||||
return RET_SYN;
|
||||
|
||||
load_unload = *(*player->argp + 1) == 'l' ? LOAD : UNLOAD;
|
||||
load_unload = player->argp[0][1] == 'l' ? LOAD : UNLOAD;
|
||||
|
||||
nunits = 0;
|
||||
while (nxtitem(&nbst, &land)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue