Typofix from previous revision
--HG-- branch : trunk
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user