[7852] Use union of per-event type structures, more checks at creature event ai loading.
commitc4787e815e157ac3b37248c8cebc90fa433e2dc5
authorVladimirMangos <vladimir@getmangos.com>
Tue, 19 May 2009 18:10:30 +0000 (19 22:10 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Tue, 19 May 2009 18:20:36 +0000 (19 22:20 +0400)
treee9790d1cf201b9a50117897aa284147210b0a3c7
parentcab394bbf99c3b6effb1cd3f8611ea90e2cbd01e
[7852] Use union of per-event type structures, more checks at creature event ai loading.

Including:
* Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2.
* In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code.
src/game/CreatureEventAI.cpp
src/game/CreatureEventAI.h
src/game/CreatureEventAIMgr.cpp
src/shared/revision_nr.h