diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 62ae37197..57530cad5 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1030,7 +1030,7 @@ void Aura::HandleAddModifier(bool apply, bool Real) { // Corruption and Unstable Affliction // TODO: drop when override will be possible - SpellEntry *entry = (SpellEntry*)(&(*spellProto)); + SpellEntry *entry = const_cast(spellProto); entry->EffectSpellClassMask[GetEffIndex()].Flags = UI64LIT(0x0000010000000002); } // Improved Flametongue Weapon, overwrite wrong data, maybe time re-add table @@ -1038,7 +1038,7 @@ void Aura::HandleAddModifier(bool apply, bool Real) { // Flametongue Weapon (Passive) // TODO: drop when override will be possible - SpellEntry *entry = (SpellEntry*)(&(*spellProto)); + SpellEntry *entry = const_cast(spellProto); entry->EffectSpellClassMask[GetEffIndex()].Flags = UI64LIT(0x0000000000200000); } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 924eaea5a..4d97f814b 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11748" + #define REVISION_NR "11749" #endif // __REVISION_NR_H__