diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e434264a4..a46ce4f1a 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -92,7 +92,7 @@ void MovementInfo::Read(ByteBuffer& data, uint16 opcode) if (element >= MSEGuidBit0 && element <= MSEGuidBit7) { - guid[element - MSEGuidByte0] = data.ReadBit(); + guid[element - MSEGuidBit0] = data.ReadBit(); continue; } @@ -293,7 +293,7 @@ void MovementInfo::Write(ByteBuffer& data, uint16 opcode) const if (element >= MSETransportGuidByte0 && element <= MSETransportGuidByte7) { - if (hasTransportData && t_guid[element - MSEGuidByte0]) + if (hasTransportData && t_guid[element - MSETransportGuidByte0]) data << uint8((t_guid[element - MSETransportGuidByte0] ^ 1)); continue; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 3a8ee52aa..cf4f31edf 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "0007" + #define REVISION_NR "0008" #endif // __REVISION_NR_H__