Reset oldcmd when recording netreplays

This commit is contained in:
fickleheart 2019-01-27 17:09:25 -06:00
parent 3cec3d9658
commit cf6e3a45d7
1 changed files with 5 additions and 0 deletions

View File

@ -5530,6 +5530,11 @@ void G_BeginRecording(void)
WRITEUINT8(demo_p, 0xFF); // Denote the end of the player listing
memset(&oldcmd,0,sizeof(oldcmd));
// Lower two lines aren't useful until ghost replays for mp are implemented, but eh
memset(&oldghost,0,sizeof(oldghost));
memset(&ghostext,0,sizeof(ghostext));
return;
}