few message fixes

UDC_EXTEFFECT sucks


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1428 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-10-05 02:16:28 +00:00
parent 25a65bbf8e
commit 870ca8c02e
1 changed files with 6 additions and 12 deletions

View File

@ -459,13 +459,6 @@ void SV_DropClient (client_t *drop)
}
drop->istobeloaded = false;
while(drop->enteffects)
{
specialenteffects_t *next = drop->enteffects->next;
Z_Free(drop->enteffects);
drop->enteffects = next;
}
drop->old_frags = 0;
drop->kills = 0;
drop->deaths = 0;
@ -1301,7 +1294,7 @@ client_t *SVC_DirectConnect(void)
}
else if (version != PROTOCOL_VERSION)
{
SV_RejectMessage (SCP_BAD, "Server is build %i.\n", build_number());
SV_RejectMessage (SCP_BAD, "Server is protocol version %i, received %i\n", PROTOCOL_VERSION, version);
Con_Printf ("* rejected connect from version %i\n", version);
return NULL;
}
@ -1330,7 +1323,7 @@ client_t *SVC_DirectConnect(void)
break;
case PROTOCOL_VERSION_HUFFMAN:
huffcrc = Q_atoi(Cmd_Argv(1));
Con_Printf("Client supports huffman compression\n", huffcrc);
Con_DPrintf("Client supports huffman compression\n", huffcrc);
break;
}
}
@ -2870,6 +2863,8 @@ void SV_MVDStream_Poll(void);
SV_InitLocal
===============
*/
extern void Log_Init (void);
void SV_InitLocal (void)
{
int i;
@ -2903,6 +2898,8 @@ void SV_InitLocal (void)
Cvar_Register (&password, cvargroup_servercontrol);
Cvar_Register (&rcon_password, cvargroup_servercontrol);
Log_Init();
}
rcon_password.restriction = RESTRICT_MAX; //no cheatie rconers changing rcon passwords...
Cvar_Register (&spectator_password, cvargroup_servercontrol);
@ -3078,9 +3075,6 @@ void SV_InitLocal (void)
#endif
#ifdef PEXT_FLOATCOORDS
svs.fteprotocolextensions |= PEXT_FLOATCOORDS;
#endif
#ifdef PEXT_SEEF1
svs.fteprotocolextensions |= PEXT_SEEF1;
#endif
svs.fteprotocolextensions |= PEXT_SPLITSCREEN;
svs.fteprotocolextensions |= PEXT_HEXEN2;