diff options
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r-- | src/game/GameObject.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 6eb0b482d80..d0591b7e9fa 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -1610,6 +1610,7 @@ void GameObject::TakenDamage(uint32 damage, Unit *who) if (BattleGround* bg = pwho->GetBattleGround()) bg->DestroyGate(pwho, this, m_goInfo->building.destroyedEvent); hitType = BG_OBJECT_DMG_HIT_TYPE_JUST_DESTROYED; + sScriptMgr.GODestroyed(pwho, this, m_goInfo->building.destroyedEvent); } if (pwho) if (BattleGround* bg = pwho->GetBattleGround()) |