mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[6991] Fixed possible typo in setting cooldown for spells in same spell category.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
f5c4935ec3
commit
321ea2d9b6
2 changed files with 2 additions and 2 deletions
|
|
@ -2479,7 +2479,7 @@ void Spell::SendSpellCooldown()
|
||||||
if(*i_scset == m_spellInfo->Id) // skip main spell, already handled above
|
if(*i_scset == m_spellInfo->Id) // skip main spell, already handled above
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_player->AddSpellCooldown(m_spellInfo->Id, m_CastItem ? m_CastItem->GetEntry() : 0, catrecTime);
|
_player->AddSpellCooldown(*i_scset, m_CastItem ? m_CastItem->GetEntry() : 0, catrecTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6990"
|
#define REVISION_NR "6991"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue