mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- Turned net decompression into a non fatal error. It now drops the packet
and waits for the sender to send a new, hopefully good, packet. SVN r1726 (trunk)
This commit is contained in:
parent
f39cde0486
commit
72a41f0b66
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
July 16, 2009
|
||||
- Turned net decompression into a non fatal error. It now drops the packet
|
||||
and waits for the sender to send a new, hopefully good, packet.
|
||||
- Reduced potential for overflow in R_ProjectSprite().
|
||||
- Moved the IF_ADDITIVETIME check earlier in APowerup::HandlePickup so
|
||||
that additive time powerups can be activated before the existing
|
||||
|
|
|
@ -292,7 +292,10 @@ void PacketGet (void)
|
|||
// Printf("recv %d/%lu\n", c, msgsize + 1);
|
||||
if (err != Z_OK)
|
||||
{
|
||||
I_Error("Net decompression failed (zlib error %d)\n", err);
|
||||
Printf("Net decompression failed (zlib error %d)\n", err);
|
||||
// Pretend no packet
|
||||
doomcom.remotenode = -1;
|
||||
return;
|
||||
}
|
||||
c = msgsize + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue