From e0ffae436c339b7dba3249ba62ca4a3362a6eba7 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 12 Sep 2010 19:17:58 +0200 Subject: Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them) Core/DBLayer: Fixed more compile warnings Core/Spells: Corrected code style from revision 634af79146 Closes issue #3956. --HG-- branch : trunk --- src/server/scripts/Spells/spell_quest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 20ee4dda01b..34f85a1ac54 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -361,7 +361,7 @@ public: if(Creature* pTarget = GetHitCreature()) { pPlayer->CastSpell(pPlayer, SPELL_TRIGGER_AID_OF_THE_EARTHEN, true, NULL); - pPlayer->KilledMonsterCredit(NPC_FALLEN_EARTHEN_DEFENDER, pTarget->GetGUID()); + pPlayer->KilledMonsterCredit(NPC_FALLEN_EARTHEN_DEFENDER, 0); pTarget->ForcedDespawn(); } } -- cgit v1.2.3