From 1cc1adbc8be36fec954f8891c61e99e9f2c7e9f9 Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Thu, 21 May 2009 03:15:15 +0200 Subject: Add some comments to changes in previous commit --HG-- branch : trunk --- src/game/WorldSession.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3