diff --git a/changelog.txt b/changelog.txt index 8b75a26..da0db33 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/code/client/cl_console.cpp b/code/client/cl_console.cpp index 66dc0ba..67df9a5 100644 --- a/code/client/cl_console.cpp +++ b/code/client/cl_console.cpp @@ -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 );