Tack on a timestamp to replay filenames

This commit is contained in:
fickleheart 2019-02-01 01:01:14 -06:00
parent e5be5e80ba
commit 43c4917e96

View file

@ -3158,7 +3158,10 @@ boolean P_SetupLevel(boolean skipprecip)
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
if (!demoplayback && multiplayer) {
G_RecordDemo("net_replay_test");
#include "time.h"
static char buf[256];
sprintf(buf, "net_replay_test_%d", time(NULL));
G_RecordDemo(buf);
}
// ===========