mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +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
|
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; }
|
void operator() (uint32 spell_id) { spellBonusMap[spell_id] = spellBonus; }
|
||||||
|
|
||||||
SpellBonusMap& spellBonusMap;
|
SpellBonusMap& spellBonusMap;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10274"
|
#define REVISION_NR "10275"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue