Merge remote-tracking branch 'refs/remotes/origin/sal-misc'

This commit is contained in:
TehRealSalt 2018-03-31 00:33:20 -04:00
commit c051dd4832
1 changed files with 4 additions and 0 deletions

View File

@ -3964,6 +3964,7 @@ void G_SaveGame(UINT32 savegameslot)
// //
void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, UINT8 ssplayers, boolean FLS) void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, UINT8 ssplayers, boolean FLS)
{ {
INT32 i;
UINT8 color = 0; UINT8 color = 0;
paused = false; paused = false;
@ -3971,6 +3972,9 @@ void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, U
COM_BufAddText("stopdemo\n"); COM_BufAddText("stopdemo\n");
ghosts = NULL; ghosts = NULL;
for (i = 0; i < NUMMAPS; i++)
randmapbuffer[i] = -1;
// this leave the actual game if needed // this leave the actual game if needed
SV_StartSinglePlayerServer(); SV_StartSinglePlayerServer();