Fix replay path formatting when using srcwr💾

This commit is contained in:
rtldg 2025-07-18 17:30:29 +00:00
parent d08a3078e1
commit f14cbf5aff

View File

@ -423,7 +423,7 @@ void DoReplaySaverCallbacks(int iSteamID, int client, int style, float time, int
char wrpath[PLATFORM_MAX_PATH], copypath[PLATFORM_MAX_PATH]; char wrpath[PLATFORM_MAX_PATH], copypath[PLATFORM_MAX_PATH];
if (makeReplay) if (makeReplay)
FormatEx(wrpath, sizeof(wrpath), FormatEx(wrpath, sizeof(wrpath),
track>0?"%s/%d/%s%s_%d.replay" : "%s/%d/%s%s.replay", track>0?"%s/%d/%s_%d.replay" : "%s/%d/%s.replay",
gS_ReplayFolder, style, gS_Map, track gS_ReplayFolder, style, gS_Map, track
); );
if (makeCopy) if (makeCopy)