mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Fix cyanigosa's event end crash.
--HG-- branch : trunk
This commit is contained in:
@@ -202,8 +202,8 @@ struct TRINITY_DLL_DECL instance_violet_hold : public ScriptedInstance
|
||||
if (data == DONE)
|
||||
{
|
||||
SaveToDB();
|
||||
GameObject* pMainDoor = instance->GetGameObject(uiMainDoor);
|
||||
pMainDoor->SetGoState(GO_STATE_ACTIVE);
|
||||
if (GameObject* pMainDoor = instance->GetGameObject(uiMainDoor))
|
||||
pMainDoor->SetGoState(GO_STATE_ACTIVE);
|
||||
}
|
||||
break;
|
||||
case DATA_WAVE_COUNT:
|
||||
|
||||
Reference in New Issue
Block a user