aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2014-12-20 17:25:15 +0100
committerRat <gmstreetrat@gmail.com>2014-12-20 17:25:15 +0100
commitec513ecfc2128e06b5fe34ad5c282817c7f41721 (patch)
tree3337d48cc71bff4a7f2836023970837af3446c2e /src/server/game/Spells/SpellEffects.cpp
parente6339778c8f29aada3a08b51f6668f813ea8ba2e (diff)
Core/Items:
- Added basic inventory item movements (packets need to be ported to new handlers after more testing) - Fixed some item visual bugs
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index e3d2b9d3d1f..da904bf3f3b 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -5452,7 +5452,7 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const*
if (summon->GetEntry() == 27893)
{
- if (uint32 weapon = m_caster->GetUInt32Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENTRY_OFFSET + (EQUIPMENT_SLOT_MAINHAND * 2)))
+ if (uint32 weapon = m_caster->GetUInt32Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENTRY_OFFSET + (EQUIPMENT_SLOT_MAINHAND * 3)))
{
summon->SetDisplayId(11686); // modelid2
summon->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, weapon);