*Cleanup in ObjectAccessor - this should fix some crashes

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-07-28 00:08:21 +02:00
1 parent 51400a4e15
commit e232c0e235
13 files changed
+123 -160

No files matched your search

+1 -1
View File
@@ -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;