diff options
| author | Shauren <none@none> | 2010-12-12 17:32:26 +0100 |
|---|---|---|
| committer | Shauren <none@none> | 2010-12-12 17:32:26 +0100 |
| commit | dd2602d3ecbd91c8accd51f62e2b89af3549dbd8 (patch) | |
| tree | 449f5deef23b6e002d78a61a693f26eb0809e4bd | |
| parent | 4b0ffeb0bd02c2be666a9712ec5597b1bcefb442 (diff) | |
Fixed line endings in 10623_world_spell_bonus_data
Scripts/Naxxramas: Fixed a possible crash in instance script
--HG--
branch : trunk
| -rw-r--r-- | sql/updates/10623_world_spell_bonus_data.sql | 6 | ||||
| -rw-r--r-- | src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sql/updates/10623_world_spell_bonus_data.sql b/sql/updates/10623_world_spell_bonus_data.sql index c9e24105e53..7db48d5bd92 100644 --- a/sql/updates/10623_world_spell_bonus_data.sql +++ b/sql/updates/10623_world_spell_bonus_data.sql @@ -1,3 +1,3 @@ -DELETE FROM `spell_bonus_data` WHERE `entry` IN (66922);
-INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
-(66922, 0, 0, 0, 0, 'Paladin - Flash of Light');
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (66922); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(66922, 0, 0, 0, 0, 'Paladin - Flash of Light'); diff --git a/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp b/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp index edc6e42469e..62fab87714c 100644 --- a/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp +++ b/src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp @@ -163,6 +163,11 @@ public: AddMinion(creature, true); } + void OnCreatureRemove(Creature* creature) + { + AddMinion(creature, false); + } + void OnGameObjectCreate(GameObject* go) { if (go->GetGOInfo()->displayId == 6785 || go->GetGOInfo()->displayId == 1287) |
