aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-21 15:33:43 +0100
committerthenecromancer <none@none>2010-01-21 15:33:43 +0100
commit0f531f75ff3f9e7079a7275cc2bf2cfd712ca6c2 (patch)
tree39e9fa54b488505f8e69ce27eca756a2b8d25026 /src
parent2572e9ef8eacdd5944e8a63cf313c8a3c9ac7faf (diff)
Send all 24 bits of spell Id for vehicle spell actions
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 472a5017b35..b6e996f050c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -18186,7 +18186,7 @@ void Player::VehicleSpellInitialize()
data << uint16(0) << uint8(0) << uint8(i+8);
}
else
- data << uint16(spellId) << uint8(0) << uint8(i+8);
+ data << uint32(MAKE_UNIT_ACTION_BUTTON(spellId,i+8));
}
for (uint32 i = CREATURE_MAX_SPELLS; i < MAX_SPELL_CONTROL_BAR; ++i)