Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter C4701: potentially uninitialized local variable C4389: '!=' : signed/unsigned mismatch C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
This commit is contained in:
1 parent
00f2ded757
commit
e5347a3bda
24 files changed
+54
-51
No files matched your search
@@ -828,6 +828,7 @@ class spell_item_create_heart_candy : public SpellScriptLoader
|
||||
|
||||
void HandleScript(SpellEffIndex effIndex)
|
||||
{
|
||||
PreventHitDefaultEffect(effIndex);
|
||||
if (!GetHitUnit() || !GetHitUnit()->ToPlayer())
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user