Don't record prompts in player_commands[]
Recording prompts is of marginal value, and it's in the next commit's way. If you need better logs after a crash, consider enabling the journal log file.
This commit is contained in:
parent
d3899f5732
commit
a9611a5794
1 changed files with 0 additions and 5 deletions
|
@ -72,11 +72,6 @@ getcommand(char *combufp)
|
|||
struct natstr *natp = getnatp(player->cnum);
|
||||
char buf[1024]; /* user text */
|
||||
|
||||
if (++player_commands_index >= KEEP_COMMANDS)
|
||||
player_commands_index = 0;
|
||||
sprintf(player_commands[player_commands_index], "%3d %3d [prompt]",
|
||||
player_commands_index, player->cnum);
|
||||
|
||||
prprompt(natp->nat_timeused / 60, natp->nat_btu);
|
||||
if (recvclient(buf, sizeof(buf)) < 0)
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue