Fix crash in script for quest Trolls is gone crazy

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-11-29 19:51:07 +01:00
parent 49fffe9da7
commit ca7a2e6417
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
DELETE FROM `spell_script_target` WHERE `entry`=55083;
INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
(55083, 1, 29700),
(55083, 1, 29686);

View File

@@ -158,7 +158,7 @@ struct TRINITY_DLL_DECL npc_captured_rageclawAI : public ScriptedAI
return;
if (DespawnTimer <= uiDiff)
m_creature->setDeathState(JUST_DIED);
m_creature->DisappearAndDie();
else DespawnTimer -= uiDiff;
}
};