aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-12 19:23:52 +0200
committerShauren <none@none>2010-09-12 19:23:52 +0200
commit9bf50057a3590f36d2f6b5090bd16d9762e831f5 (patch)
treebe2e7927552454cae044a401fabf2bd648bdac78 /src
parente0ffae436c339b7dba3249ba62ca4a3362a6eba7 (diff)
Typofix from previous revision
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/EventAI/CreatureEventAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAI.cpp b/src/server/game/AI/EventAI/CreatureEventAI.cpp
index f7e0fe56392..35ef5c624f5 100644
--- a/src/server/game/AI/EventAI/CreatureEventAI.cpp
+++ b/src/server/game/AI/EventAI/CreatureEventAI.cpp
@@ -703,7 +703,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
//if not available, use pActionInvoker
if (Unit* pTarget = GetTargetByType(action.killed_monster.target, pActionInvoker))
if (Player* pPlayer2 = pTarget->GetCharmerOrOwnerPlayerOrPlayerItself())
- pPlayer2->RewardPlayerAndGroupAtEvent(action.killed_monster.creatureId, pPlayer);
+ pPlayer2->RewardPlayerAndGroupAtEvent(action.killed_monster.creatureId, pPlayer2);
}
break;
case ACTION_T_SET_INST_DATA: