Revert "Simplify execute(): use getstarg() instead of getstring()"
This reverts commit 96d1039c24
. It's in
the next commit's way.
This commit is contained in:
parent
e2e69a29d5
commit
0493cbc655
1 changed files with 4 additions and 1 deletions
|
@ -250,7 +250,10 @@ execute(void)
|
|||
|
||||
failed = 0;
|
||||
|
||||
p = getstarg(player->comtail[1], "File? ", buf);
|
||||
if (player->comtail[1])
|
||||
p = player->comtail[1];
|
||||
else
|
||||
p = getstring("File? ", buf);
|
||||
if (p == NULL || *p == '\0')
|
||||
return RET_SYN;
|
||||
prexec(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue