mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
global console-history instead of per-mod history
This commit is contained in:
parent
c79257b5d8
commit
e62776fa08
1 changed files with 2 additions and 2 deletions
|
@ -789,7 +789,7 @@ Key_WriteConsoleHistory()
|
|||
{
|
||||
int i;
|
||||
char path[MAX_OSPATH];
|
||||
Com_sprintf(path, sizeof(path), "%s/history.txt", FS_Gamedir());
|
||||
Com_sprintf(path, sizeof(path), "%sconsole_history.txt", Sys_GetHomeDir());
|
||||
|
||||
FILE* f = fopen(path, "w");
|
||||
|
||||
|
@ -828,7 +828,7 @@ Key_ReadConsoleHistory()
|
|||
int i;
|
||||
|
||||
char path[MAX_OSPATH];
|
||||
Com_sprintf(path, sizeof(path), "%s/history.txt", FS_Gamedir());
|
||||
Com_sprintf(path, sizeof(path), "%sconsole_history.txt", Sys_GetHomeDir());
|
||||
|
||||
FILE* f = fopen(path, "r");
|
||||
if(f==NULL)
|
||||
|
|
Loading…
Reference in a new issue