mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11849] Add missing pointer check for spell 45989.
Thanks to stfx for pointing Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
3ae1f25b9b
commit
9eb96b7811
2 changed files with 4 additions and 1 deletions
|
|
@ -1619,6 +1619,9 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
}
|
||||
case 45989: // Summon Void Sentinel Summoner Visual
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// summon void sentinel
|
||||
unitTarget->CastSpell(unitTarget, 45988, true);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11848"
|
||||
#define REVISION_NR "11849"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue