mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 05:01:41 +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
|
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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue