Tack on a timestamp to replay filenames
This commit is contained in:
1 parent
e5be5e80ba
commit
43c4917e96
1 file changed
+4
-1
+4
-1
@@ -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);
|
||||
}
|
||||
|
||||
// ===========
|
||||
|
||||
Reference in new issue
Block a user