diff options
| author | QAston <none@none> | 2009-07-13 23:36:38 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-13 23:36:38 +0200 |
| commit | 814f66db9125b0c91a57833c3abc2426eb2ca1c4 (patch) | |
| tree | 6662a490ac69e78da12fa9eeea0964b9d406b77e /src/bindings/scripts | |
| parent | 310f15e546c2525e2fbef2fbea57521e4cc8b78b (diff) | |
*Fix Defensive Tactics.
*Correctly delete gameobject in BT_Najentus script.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp index f70b82c0e3c..8b185318b8a 100644 --- a/src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp +++ b/src/bindings/scripts/scripts/zone/black_temple/boss_warlord_najentus.cpp @@ -201,6 +201,9 @@ bool GOHello_go_najentus_spine(Player *player, GameObject* _GO) { player->CastSpell(player, SPELL_CREATE_NAJENTUS_SPINE, true); _GO->SetLootState(GO_NOT_READY); + if (_GO->GetOwnerGUID()) + if (Unit * owner = _GO->GetOwner()) + owner->RemoveGameObject(_GO, false); _GO->Delete(); } return true; |
