aboutsummaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-02 14:52:52 -0500
committermegamage <none@none>2009-09-02 14:52:52 -0500
commit5b9868f468e48bb4dbcbffeb999b0a9315bc0364 (patch)
tree1f9bfc623d35769991946c3f125f8c3729f5d6b7 /src/bindings
parent73fde81744a395715ca965c9589f66883e220bca (diff)
*Combine gobject::deleteobjectwithowner and delete
--HG-- branch : trunk
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp2
-rw-r--r--src/bindings/scripts/scripts/outland/black_temple/boss_warlord_najentus.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp
index 62b90bbb742..8a8e319c294 100644
--- a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp
+++ b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp
@@ -206,7 +206,7 @@ struct TRINITY_DLL_DECL boss_sapphironAI : public BossAI
if (Player* pPlayer = Unit::GetPlayer(itr->first))
pPlayer->RemoveAura(SPELL_ICEBOLT);
if (GameObject* pGo = GameObject::GetGameObject(*me, itr->second))
- pGo->DeleteObjectWithOwner();
+ pGo->Delete();
}
iceblocks.clear();
}
diff --git a/src/bindings/scripts/scripts/outland/black_temple/boss_warlord_najentus.cpp b/src/bindings/scripts/scripts/outland/black_temple/boss_warlord_najentus.cpp
index 1616333b007..69f41cdf578 100644
--- a/src/bindings/scripts/scripts/outland/black_temple/boss_warlord_najentus.cpp
+++ b/src/bindings/scripts/scripts/outland/black_temple/boss_warlord_najentus.cpp
@@ -200,7 +200,7 @@ bool GOHello_go_najentus_spine(Player* pPlayer, GameObject* pGo)
if (CAST_AI(boss_najentusAI, Najentus->AI())->RemoveImpalingSpine())
{
pPlayer->CastSpell(pPlayer, SPELL_CREATE_NAJENTUS_SPINE, true);
- pGo->DeleteObjectWithOwner();
+ pGo->Delete();
}
return true;
}