From 0f531f75ff3f9e7079a7275cc2bf2cfd712ca6c2 Mon Sep 17 00:00:00 2001 From: thenecromancer Date: Thu, 21 Jan 2010 15:33:43 +0100 Subject: Send all 24 bits of spell Id for vehicle spell actions --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3