diff options
author | Shauren <shauren.trinity@gmail.com> | 2012-01-31 14:02:59 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2012-01-31 14:02:59 +0100 |
commit | 1b676b1ccf2fc8c0aca9e0502164a7c68daf9b7c (patch) | |
tree | 5acb269e2f39f7749fb37287ef34c667457d0ad8 /src/server/shared/Packets/ByteBuffer.h | |
parent | 37b66384f3d905fb8de506aae48237900a1b6065 (diff) |
Core/Items: Some work on hotfixes and SMSG_DB_REPLY
Diffstat (limited to 'src/server/shared/Packets/ByteBuffer.h')
-rwxr-xr-x | src/server/shared/Packets/ByteBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index a15f8ce5c30..3506913fc23 100755 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -198,10 +198,10 @@ class ByteBuffer { return ReadUInt8() ^ 1; } - + void ReadXorByte(uint32 bit, uint8& byte) { - if (!bit) + if (!bit) byte = 0; else byte = ReadUInt8() ^ bit; |