diff options
| author | Kudlaty <none@none> | 2009-05-21 03:12:13 +0200 |
|---|---|---|
| committer | Kudlaty <none@none> | 2009-05-21 03:12:13 +0200 |
| commit | ba82d76637e9d18257c7b5aa1482019aadb6c5ee (patch) | |
| tree | f4db86a541a7db7e436674eb849107f8a9d427e2 | |
| parent | 0985fe6b5d95b6ce6e5fcc74a1c48b685aaff57a (diff) | |
Fixed problem with integrated client addons. Author: tomrus88
--HG--
branch : trunk
| -rw-r--r-- | src/game/WorldSession.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index 0a1bb536f50..5f62f4cc2af 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -711,10 +711,10 @@ void WorldSession::SendAddonsInfo() for(AddonsList::iterator itr = m_addonsList.begin(); itr != m_addonsList.end(); ++itr) { - uint8 state = (itr->Enabled ? 2 : 1); + uint8 state = 2; data << uint8(state); - uint8 unk1 = (itr->Enabled ? 1 : 0); + uint8 unk1 = 1; data << uint8(unk1); if (unk1) { @@ -726,7 +726,7 @@ void WorldSession::SendAddonsInfo() data << uint32(0); } - uint8 unk3 = (itr->Enabled ? 0 : 1); + uint8 unk3 = 0; data << uint8(unk3); if (unk3) { |
