Fixed crash issue with death grip from previous commit.
*Tested on both Windows and Linux system.
This commit is contained in:
@@ -1563,7 +1563,7 @@ class spell_dk_death_grip : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
Creature* targetCreature = GetHitCreature();
|
Creature* targetCreature = GetHitCreature();
|
||||||
|
|
||||||
switch (entry = targetCreature->GetEntry())
|
switch (targetCreature->GetEntry())
|
||||||
{
|
{
|
||||||
//Alliance Faction Champions
|
//Alliance Faction Champions
|
||||||
case 34461:
|
case 34461:
|
||||||
@@ -1596,10 +1596,10 @@ class spell_dk_death_grip : public SpellScriptLoader
|
|||||||
case 34455:
|
case 34455:
|
||||||
case 34450:
|
case 34450:
|
||||||
case 34453:
|
case 34453:
|
||||||
break;
|
return entry;
|
||||||
default:
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleBaseDummy(SpellEffIndex /*effIndex*/)
|
void HandleBaseDummy(SpellEffIndex /*effIndex*/)
|
||||||
|
|||||||
Reference in New Issue
Block a user