Fix few missing packet type names in d_net.c

This commit is contained in:
indev committed 2023-11-22 01:48:41 +03:00
1 parent ab8d3e2642
commit 2d25fabe64
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -5391,7 +5391,7 @@ static void HandlePacketFromPlayer(SINT8 node)
}
else
{
DEBFILE(va("frame not in bound: %u\n", neededtic));
DEBFILE(va("frame not in bound: %u (bounds are from %u to %u)\n", neededtic, realstart, realend));
/*if (realend < neededtic - 2 * TICRATE || neededtic + 2 * TICRATE < realstart)
I_Error("Received an out of order PT_SERVERTICS packet!\n"
"Got tics %d-%d, needed tic %d\n\n"
+4
View File
@@ -831,6 +831,10 @@ static const char *packettypename[NUMPACKETTYPE] =
"CLIENTJOIN",
"NODETIMEOUT",
"RESYNCHING",
"TELLFILESNEEDED",
"MOREFILESNEEDED",
"PING"
};