mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-21 07:11:59 -04:00
Scripts/Zalazane's Fall: Fixed a logical mistake from last commit
This commit is contained in:
@@ -241,7 +241,7 @@ class npc_tiger_matriarch : public CreatureScript
|
||||
|
||||
void IsSummonedBy(Unit* summoner)
|
||||
{
|
||||
if (summoner->GetTypeId() != TYPEID_PLAYER && summoner->GetVehicle())
|
||||
if (summoner->GetTypeId() != TYPEID_PLAYER || !summoner->GetVehicle())
|
||||
return;
|
||||
|
||||
_tigerGuid = summoner->GetVehicle()->GetBase()->GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user