mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
feat(Core/Creature): Implement c_t_r & c_t_s (#4359)
This commit is contained in:
@@ -21227,7 +21227,7 @@ void Player::VehicleSpellInitialize()
|
||||
data << uint8(0); // Command State
|
||||
data << uint16(0x800); // DisableActions (set for all vehicles)
|
||||
|
||||
for (uint32 i = 0; i < CREATURE_MAX_SPELLS; ++i)
|
||||
for (uint32 i = 0; i < MAX_CREATURE_SPELLS; ++i)
|
||||
{
|
||||
uint32 spellId = vehicle->m_spells[i];
|
||||
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId);
|
||||
@@ -21253,7 +21253,7 @@ void Player::VehicleSpellInitialize()
|
||||
data << uint32(MAKE_UNIT_ACTION_BUTTON(spellId, i + 8));
|
||||
}
|
||||
|
||||
for (uint32 i = CREATURE_MAX_SPELLS; i < MAX_SPELL_CONTROL_BAR; ++i)
|
||||
for (uint32 i = MAX_CREATURE_SPELLS; i < MAX_SPELL_CONTROL_BAR; ++i)
|
||||
data << uint32(0);
|
||||
|
||||
data << uint8(0); // Auras?
|
||||
|
||||
Reference in New Issue
Block a user