Send all 24 bits of spell Id for vehicle spell actions

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-21 15:33:43 +01:00
parent 2572e9ef8e
commit 0f531f75ff

View File

@@ -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)