mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[8338] Use expected constant name instead explicit value.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
d7b091793c
commit
5c2ae96e38
3 changed files with 3 additions and 3 deletions
|
|
@ -10540,7 +10540,7 @@ CharmInfo* Unit::InitCharmInfo(Unit *charm)
|
|||
CharmInfo::CharmInfo(Unit* unit)
|
||||
: m_unit(unit), m_CommandState(COMMAND_FOLLOW), m_reactState(REACT_PASSIVE), m_petnumber(0)
|
||||
{
|
||||
for(int i =0; i<4; ++i)
|
||||
for(int i = 0; i < CREATURE_MAX_SPELLS; ++i)
|
||||
m_charmspells[i].SetActionAndType(0,ACT_DISABLED);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue