autoscreenshot fails to append a number to screenshot filenames under Windows
How to reproduce it: start a map and run
cl_autoscreenshot 2
endmatch
In console I see this message: Wrote screenshots/autoscreenshot/fuse-.jpg
This issue is caused by strftime(false, "%s")
returning an empty string because %s is not recognized by strftime.
Even sv_eventlog calls strftime that way and if enabled it generates a match ID not formatted as intended that is used by playerstats and hitplot code.
Edited by terencehill