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

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

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);