mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10274"
|
||||
#define REVISION_NR "10275"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue