mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Also count terminating byte in fileneeded filename
This commit is contained in:
parent
db24665856
commit
7f99ebc692
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ UINT8 *PutFileNeeded(UINT16 firstfile)
|
||||||
|
|
||||||
nameonly(strcpy(wadfilename, wadfiles[i]->filename));
|
nameonly(strcpy(wadfilename, wadfiles[i]->filename));
|
||||||
|
|
||||||
if (p + 1 + 4 + strlen(wadfilename) + 16 > p_start + MAXFILENEEDED)
|
if (p + 1 + 4 + strlen(wadfilename) + 1 + 16 > p_start + MAXFILENEEDED)
|
||||||
{
|
{
|
||||||
// Too many files to send all at once
|
// Too many files to send all at once
|
||||||
if (netbuffer->packettype == PT_MOREFILESNEEDED)
|
if (netbuffer->packettype == PT_MOREFILESNEEDED)
|
||||||
|
|
Loading…
Reference in a new issue