- 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:
Randy Heit 2009-07-17 02:13:27 +00:00
parent f39cde0486
commit 72a41f0b66
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,6 @@
July 16, 2009 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(). - Reduced potential for overflow in R_ProjectSprite().
- Moved the IF_ADDITIVETIME check earlier in APowerup::HandlePickup so - Moved the IF_ADDITIVETIME check earlier in APowerup::HandlePickup so
that additive time powerups can be activated before the existing that additive time powerups can be activated before the existing

View file

@ -292,7 +292,10 @@ void PacketGet (void)
// Printf("recv %d/%lu\n", c, msgsize + 1); // Printf("recv %d/%lu\n", c, msgsize + 1);
if (err != Z_OK) 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; c = msgsize + 1;
} }