From e232c0e235d7325c05eee6f13cbbc95aac93a6a2 Mon Sep 17 00:00:00 2001 From: QAston Date: Wed, 28 Jul 2010 00:08:21 +0200 Subject: *Cleanup in ObjectAccessor - this should fix some crashes --HG-- branch : trunk --- src/server/scripts/Northrend/borean_tundra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Northrend') diff --git a/src/server/scripts/Northrend/borean_tundra.cpp b/src/server/scripts/Northrend/borean_tundra.cpp index b2b975f54ab..bd6f390165a 100644 --- a/src/server/scripts/Northrend/borean_tundra.cpp +++ b/src/server/scripts/Northrend/borean_tundra.cpp @@ -2017,7 +2017,7 @@ struct npc_seaforium_depth_chargeAI : public ScriptedAI { if (Creature* cCredit = me->FindNearestCreature(25402 + i, 10.0f))//25402-25405 credit markers { - if (Unit* uOwner = me->GetOwner(true)) + if (Unit* uOwner = me->GetOwner()) { Player* pOwner = uOwner->ToPlayer(); if (pOwner && pOwner->GetQuestStatus(QUEST_BURY_THOSE_COCKROACHES) == QUEST_STATUS_INCOMPLETE) -- cgit v1.2.3