Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Core/Pet: Add missing override for UpdateAI , remove unused spell scr…
Browse files Browse the repository at this point in the history
…ipt name
  • Loading branch information
Nightprince committed Nov 15, 2023
1 parent 6ecfb6d commit 2cbc8e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions sql/updates/world/world_2023_11_15_01_36.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_mage_mirror_image';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(55342, 'spell_mage_mirror_image'),
(63093, 'spell_mage_mirror_image'),
(88091, 'spell_mage_mirror_image'),
(88092, 'spell_mage_mirror_image');
(55342, 'spell_mage_mirror_image');
2 changes: 1 addition & 1 deletion src/server/scripts/Pet/pet_mage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class npc_pet_mage_mirror_image : public CreatureScript
}
}

void UpdateAI(uint32 diff)
void UpdateAI(uint32 diff) override
{
if (!UpdateVictim() || me->HasUnitState(UNIT_STATE_CASTING))
return;
Expand Down

0 comments on commit 2cbc8e5

Please sign in to comment.