Merge branch 'master' into sonicitems

This commit is contained in:
TehRealSalt 2018-07-10 17:02:55 -04:00
commit 9da279006f
3 changed files with 5 additions and 2 deletions

View file

@ -3754,7 +3754,7 @@ static void HandlePacketFromAwayNode(SINT8 node)
/// Also, according to HandleConnect, the server will send the savegame even during intermission... /// Also, according to HandleConnect, the server will send the savegame even during intermission...
/// Sryder 2018-07-05: If we don't want to send the player config another way we need to send the gamestate /// Sryder 2018-07-05: If we don't want to send the player config another way we need to send the gamestate
/// At almost any gamestate there could be joiners... So just always send gamestate? /// At almost any gamestate there could be joiners... So just always send gamestate?
cl_mode = CL_DOWNLOADSAVEGAME; cl_mode = ((server) ? CL_CONNECTED : CL_DOWNLOADSAVEGAME);
#else #else
cl_mode = CL_CONNECTED; cl_mode = CL_CONNECTED;
#endif #endif

View file

@ -2279,7 +2279,7 @@ static void Command_Pause(void)
if (cv_pause.value || server || (IsPlayerAdmin(consoleplayer))) if (cv_pause.value || server || (IsPlayerAdmin(consoleplayer)))
{ {
if (modeattacking || !(gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_VOTING)) if (!paused && (modeattacking || !(gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_VOTING || gamestate == GS_WAITINGPLAYERS)))
{ {
CONS_Printf(M_GetText("You can't pause here.\n")); CONS_Printf(M_GetText("You can't pause here.\n"));
return; return;

View file

@ -1060,6 +1060,9 @@ void F_StartWaitingPlayers(void)
void F_WaitingPlayersTicker(void) void F_WaitingPlayersTicker(void)
{ {
if (paused)
return;
finalecount++; finalecount++;
// dumb hack, only start the music on the 1st tick so if you instantly go into the map you aren't hearing a tic of music // dumb hack, only start the music on the 1st tick so if you instantly go into the map you aren't hearing a tic of music