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

wrong. pets may not have Player owner -> this pets seems as simple Creatures. need check GetOwner() && GetOwner()->GetTypeId()