Core/ScriptMgr: Remove incorrect assertion in OnGameObjectDestroyed, and clean up code style (fix by Zor)

--HG--
branch : trunk
This commit is contained in:
click committed 2010-09-11 16:11:07 +02:00
1 parent a52982195f
commit 5f6b73fcec
2 files changed
+44 -43

No files matched your search

-1
View File
@@ -822,7 +822,6 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, GameObject* go)
void ScriptMgr::OnGameObjectDestroyed(Player* player, GameObject* go, uint32 eventId)
{
ASSERT(player);
ASSERT(go);
GET_SCRIPT(GameObjectScript, go->GetScriptId(), tmpscript);