*Cleanup in ObjectAccessor - this should fix some crashes
--HG-- branch : trunk
This commit is contained in:
@@ -753,7 +753,7 @@ bool GOHello_go_inconspicuous_landmark(Player *pPlayer, GameObject* /*pGO*/)
|
||||
|
||||
bool GOHello_go_soulwell(Player *pPlayer, GameObject* pGO)
|
||||
{
|
||||
Unit *caster = pGO->GetOwner(false);
|
||||
Unit *caster = pGO->GetOwner();
|
||||
if (!caster || caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user