mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove mapname buffer from serverinfo_pak
This commit is contained in:
parent
60355d9efd
commit
5a813cd94d
3 changed files with 2 additions and 4 deletions
|
|
@ -931,7 +931,6 @@ static void SV_SendServerInfo(INT32 node, tic_t servertime)
|
|||
|
||||
CopyCaretColors(netbuffer->u.serverinfo.servername, cv_servername.string,
|
||||
MAXSERVERNAME);
|
||||
//strncpy(netbuffer->u.serverinfo.mapname, G_BuildMapName(gamemap), 7);
|
||||
|
||||
M_Memcpy(netbuffer->u.serverinfo.mapmd5, mapmd5, 16);
|
||||
|
||||
|
|
|
|||
|
|
@ -279,7 +279,6 @@ typedef struct
|
|||
tic_t time;
|
||||
tic_t leveltime;
|
||||
char servername[MAXSERVERNAME];
|
||||
char mapname[8];
|
||||
char maptitle[33];
|
||||
unsigned char mapmd5[16];
|
||||
UINT8 actnum;
|
||||
|
|
|
|||
|
|
@ -911,9 +911,9 @@ static void DebugPrintpacket(const char *header)
|
|||
netbuffer->u.servercfg.modifiedgame);
|
||||
break;
|
||||
case PT_SERVERINFO:
|
||||
fprintf(debugfile, " '%s' player %d/%d, map %s, filenum %d, time %u \n",
|
||||
fprintf(debugfile, " '%s' player %d/%d, filenum %d, time %u \n",
|
||||
netbuffer->u.serverinfo.servername, netbuffer->u.serverinfo.numberofplayer,
|
||||
netbuffer->u.serverinfo.maxplayer, netbuffer->u.serverinfo.mapname,
|
||||
netbuffer->u.serverinfo.maxplayer,
|
||||
netbuffer->u.serverinfo.fileneedednum,
|
||||
(UINT32)LONG(netbuffer->u.serverinfo.time));
|
||||
fprintfstringnewline((char *)netbuffer->u.serverinfo.fileneeded,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue