Typofix from previous revision

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-09-12 19:23:52 +02:00
parent e0ffae436c
commit 9bf50057a3
@@ -703,7 +703,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
//if not available, use pActionInvoker //if not available, use pActionInvoker
if (Unit* pTarget = GetTargetByType(action.killed_monster.target, pActionInvoker)) if (Unit* pTarget = GetTargetByType(action.killed_monster.target, pActionInvoker))
if (Player* pPlayer2 = pTarget->GetCharmerOrOwnerPlayerOrPlayerItself()) if (Player* pPlayer2 = pTarget->GetCharmerOrOwnerPlayerOrPlayerItself())
pPlayer2->RewardPlayerAndGroupAtEvent(action.killed_monster.creatureId, pPlayer); pPlayer2->RewardPlayerAndGroupAtEvent(action.killed_monster.creatureId, pPlayer2);
} }
break; break;
case ACTION_T_SET_INST_DATA: case ACTION_T_SET_INST_DATA: