From 43c4917e9687641a3b36d074d28cf5c77a05eb40 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 764ad211..3b5659c8 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); } // ===========