[12702] Add additional miscValue to AIEvent throwing (original author @Schmoozerd), also fixed compile

This commit is contained in:
sanctum32 2013-10-21 09:55:50 +03:00 committed by Antz
parent 868e4772b0
commit 9775f0bd8c
6 changed files with 16 additions and 14 deletions

View file

@ -1077,7 +1077,7 @@ void CreatureEventAI::SummonedCreatureDespawn(Creature* pUnit)
}
}
void CreatureEventAI::ReceiveAIEvent(AIEventType eventType, Creature* pSender, Unit* pInvoker)
void CreatureEventAI::ReceiveAIEvent(AIEventType eventType, Creature* pSender, Unit* pInvoker, uint32 miscValue)
{
if (m_bEmptyList || !pSender)
return;