Some bugs fixed. I wonder what I've broken.
Oh yeah, hud scoreboard stuff works now. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1883 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
44476382fe
commit
e3cb464de9
23 changed files with 487 additions and 56 deletions
|
@ -2189,7 +2189,6 @@ void SVC_RemoteCommand (void)
|
|||
SV_EndRedirect ();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
=================
|
||||
SV_ConnectionlessPacket
|
||||
|
@ -2266,7 +2265,7 @@ qboolean SV_ConnectionlessPacket (void)
|
|||
#endif
|
||||
else if (!strcmp(c, "rcon"))
|
||||
SVC_RemoteCommand ();
|
||||
else
|
||||
else if (!PR_GameCodePacket(net_message.data+4))
|
||||
Con_Printf ("bad connectionless packet from %s:\n%s\n"
|
||||
, NET_AdrToString (net_from), s);
|
||||
|
||||
|
@ -2741,8 +2740,8 @@ void SV_CheckTimeouts (void)
|
|||
}
|
||||
if (sv.paused && !nclients) {
|
||||
// nobody left, unpause the server
|
||||
SV_TogglePause();
|
||||
SV_BroadcastTPrintf(PRINT_HIGH, STL_CLIENTLESSUNPAUSE);
|
||||
if (SV_TogglePause(NULL))
|
||||
SV_BroadcastTPrintf(PRINT_HIGH, STL_CLIENTLESSUNPAUSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2998,8 +2997,14 @@ void SV_MVDStream_Poll(void);
|
|||
|
||||
// move autonomous things around if enough time has passed
|
||||
if (!sv.paused)
|
||||
{
|
||||
if (SV_Physics ())
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
PR_GameCodePausedTic(Sys_DoubleTime() - sv.pausedstart);
|
||||
}
|
||||
|
||||
while(SV_ReadMVD());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue