Core/GameObjects: add script hook when destructable building is damaged.
This commit is contained in:
@@ -1284,7 +1284,7 @@ class go_ulduar_tower : public GameObjectScript
|
||||
public:
|
||||
go_ulduar_tower() : GameObjectScript("go_ulduar_tower") { }
|
||||
|
||||
void OnDestroyed(Player* /*pPlayer*/, GameObject* go, uint32 /*value*/)
|
||||
void OnDestroyed(GameObject* go, Player* /*pPlayer*/, uint32 /*value*/)
|
||||
{
|
||||
InstanceScript* instance = go->GetInstanceScript();
|
||||
if (!instance)
|
||||
|
||||
Reference in New Issue
Block a user