Skip to content

Commit a9dbc3d

Browse files
committed
Fix unused variable issue in AC method
1 parent 24fe97a commit a9dbc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

methods/AzerothCore/CreatureMethods.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ namespace LuaCreature
555555
{
556556
uint32 spell = E->CHECKVAL<uint32>(2);
557557

558-
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spell))
558+
if (sSpellMgr->GetSpellInfo(spell))
559559
E->Push(creature->GetSpellCooldown(spell));
560560
else
561561
E->Push(0);

0 commit comments

Comments
 (0)