Fixed a minor bug that has never occurred.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2910 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8c6bf11a10
commit
04bdd8d827
1 changed files with 10 additions and 10 deletions
|
@ -1242,12 +1242,12 @@ void SVC_GetChallenge (void)
|
|||
if (svs.fteprotocolextensions)
|
||||
{
|
||||
lng = LittleLong(PROTOCOL_VERSION_FTE);
|
||||
memcpy(over, &lng, sizeof(int));
|
||||
over+=4;
|
||||
memcpy(over, &lng, sizeof(lng));
|
||||
over+=sizeof(lng);
|
||||
|
||||
lng = LittleLong(svs.fteprotocolextensions);
|
||||
memcpy(over, &lng, sizeof(long));
|
||||
over+=4;
|
||||
memcpy(over, &lng, sizeof(lng));
|
||||
over+=sizeof(lng);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1256,12 +1256,12 @@ void SVC_GetChallenge (void)
|
|||
if (compressioncrc)
|
||||
{
|
||||
lng = LittleLong((('H'<<0) + ('U'<<8) + ('F'<<16) + ('F' << 24)));
|
||||
memcpy(over, &lng, sizeof(int));
|
||||
over+=4;
|
||||
memcpy(over, &lng, sizeof(lng));
|
||||
over+=sizeof(lng);
|
||||
|
||||
lng = LittleLong(compressioncrc);
|
||||
memcpy(over, &lng, sizeof(long));
|
||||
over+=4;
|
||||
memcpy(over, &lng, sizeof(lng));
|
||||
over+=sizeof(lng);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -1308,7 +1308,7 @@ void SV_GetNewSpawnParms(client_t *cl)
|
|||
void VARGS SV_OutOfBandPrintf (int q2, netadr_t adr, char *format, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
static char string[8192]; // ??? why static?
|
||||
char string[8192];
|
||||
|
||||
va_start (argptr, format);
|
||||
if (q2)
|
||||
|
@ -1330,7 +1330,7 @@ void VARGS SV_OutOfBandPrintf (int q2, netadr_t adr, char *format, ...)
|
|||
void VARGS SV_OutOfBandTPrintf (int q2, netadr_t adr, int language, translation_t text, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
static char string[8192]; // ??? why static?
|
||||
char string[8192];
|
||||
char *format = langtext(text, language);
|
||||
|
||||
va_start (argptr, text);
|
||||
|
|
Loading…
Reference in a new issue