Move where multiplayer replays are started

This particularly allows a server to record the
first map after startup as a replay. Players
joining mid-map can no longer record replays tho
This commit is contained in:
fickleheart 2019-01-27 15:45:08 -06:00
parent 894db0c6fd
commit ab226c1e39
2 changed files with 6 additions and 6 deletions

View file

@ -2337,11 +2337,6 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
return;
}
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
if (multiplayer) {
G_RecordDemo("net_replay_test");
}
if (chmappending)
chmappending--;

View file

@ -3156,6 +3156,11 @@ boolean P_SetupLevel(boolean skipprecip)
? cv_basenumlaps.value
: mapheaderinfo[gamemap - 1]->numlaps);
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
if (!demoplayback && multiplayer) {
G_RecordDemo("net_replay_test");
}
// ===========
// landing point for netgames.
netgameskip:
@ -3435,7 +3440,7 @@ boolean P_AddWadFile(const char *wadfilename)
//
R_AddSkins(wadnum); // faB: wadfile index in wadfiles[]
//
//
// edit music defs
//
S_LoadMusicDefs(wadnum);