mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixed the condump path argument truncation
This commit is contained in:
parent
c4135557ad
commit
d3d4746a6b
2 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ chg: on Windows, a fatal error will move the early console window to the foregro
|
|||
chg: com_hunkMegs doesn't have a maximum value anymore
|
||||
a value too high would reset it and the engine might fail to load with the default value
|
||||
|
||||
fix: the condump command was truncating its file path argument to 64 characters
|
||||
|
||||
fix: "timedemo" playback runs at full speed again
|
||||
|
||||
fix: on Windows, when unfocused, the client would always sleep 5+ ms regardless of com_maxFPS
|
||||
|
|
|
@ -286,7 +286,7 @@ void Con_Dump_f( void )
|
|||
return;
|
||||
}
|
||||
|
||||
Q_strncpyz( buffer, Cmd_Argv(1), MAX_QPATH - 4 );
|
||||
Q_strncpyz( buffer, Cmd_Argv(1), sizeof(buffer) );
|
||||
COM_DefaultExtension( buffer, sizeof(buffer), ".txt" );
|
||||
|
||||
fileHandle_t f = FS_FOpenFileWrite( buffer );
|
||||
|
|
Loading…
Reference in a new issue