Scripts/Zalazane's Fall: Fixed a logical mistake from last commit
This commit is contained in:
1 parent
c7ddb428b3
commit
bc151a0453
1 file changed
+1
-1
@@ -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