diff options
author | Kudlaty <none@none> | 2009-05-21 03:15:15 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-05-21 03:15:15 +0200 |
commit | 1cc1adbc8be36fec954f8891c61e99e9f2c7e9f9 (patch) | |
tree | 1864159c8587e350182c1ec1b93e2433b4ff64d4 | |
parent | ba82d76637e9d18257c7b5aa1482019aadb6c5ee (diff) |
Add some comments to changes in previous commit
--HG--
branch : trunk
-rw-r--r-- | src/game/WorldSession.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index 5f62f4cc2af..36342c8dee1 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -711,22 +711,22 @@ void WorldSession::SendAddonsInfo() for(AddonsList::iterator itr = m_addonsList.begin(); itr != m_addonsList.end(); ++itr) { - uint8 state = 2; + uint8 state = 2; // 2 is sent here data << uint8(state); - uint8 unk1 = 1; + uint8 unk1 = 1; // 1 is sent here data << uint8(unk1); if (unk1) { uint8 unk2 = (itr->CRC != 0x4c1c776d); // If addon is Standard addon CRC data << uint8(unk2); - if (unk2) + if (unk2) // if CRC is wrong, add public key (client need it) data.append(tdata, sizeof(tdata)); data << uint32(0); } - uint8 unk3 = 0; + uint8 unk3 = 0; // 0 is sent here data << uint8(unk3); if (unk3) { |