mangosR2/mangos — comment on commit 893fc473b0ecdbec37acc83bbd208da33aca5d27
File: src/game/Unit.cpp line 1539
By tibbi:

like
if (GetTypeId() == TYPEID_PLAYER || (GetObjectGuid().IsPet() && GetOwner() && GetOwner()->GetTypeId() == TYPEID_PLAYER)) ?