mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10275] Fix initialization of DoSpellBonuses
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
This commit is contained in:
parent
6244d992ef
commit
e1ff3579c9
2 changed files with 2 additions and 2 deletions
|
|
@ -1327,7 +1327,7 @@ void SpellMgr::LoadSpellProcItemEnchant()
|
|||
|
||||
struct DoSpellBonuses
|
||||
{
|
||||
DoSpellBonuses(SpellBonusMap& _spellBonusMap, SpellBonusEntry const& _spellBonus) : spellBonusMap(spellBonusMap), spellBonus(_spellBonus) {}
|
||||
DoSpellBonuses(SpellBonusMap& _spellBonusMap, SpellBonusEntry const& _spellBonus) : spellBonusMap(_spellBonusMap), spellBonus(_spellBonus) {}
|
||||
void operator() (uint32 spell_id) { spellBonusMap[spell_id] = spellBonus; }
|
||||
|
||||
SpellBonusMap& spellBonusMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue