You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
Logging error instead of throwing exception on network thread in RELEASE
Removed superflous break Added new keyword to ReadByte() - not optimal, but it will have to do for now
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Lidgren.Network
|
||||
//
|
||||
// 8 bit
|
||||
//
|
||||
public byte ReadByte()
|
||||
public new byte ReadByte()
|
||||
{
|
||||
NetException.Assert(m_bitLength - m_readPosition >= 8, c_readOverflowError);
|
||||
byte retval = NetBitWriter.ReadByte(m_data, 8, m_readPosition);
|
||||
@@ -83,6 +83,7 @@ namespace Lidgren.Network
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
[CLSCompliant(false)]
|
||||
public sbyte ReadSByte()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user