From 37b500a75d23c89a6c8f881ceed34b18e57e6a83 Mon Sep 17 00:00:00 2001 From: fickleheart Date: Fri, 1 Feb 2019 01:01:14 -0600 Subject: [PATCH] Tack on a timestamp to replay filenames --- src/p_setup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/p_setup.c b/src/p_setup.c index 764ad211a..3b5659c87 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -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); } // ===========