[7709] Cleanups in AI()->AttackedBy use.
commit5c1013c60540067be6db6260200a3488159dc6dd
authorVladimirMangos <vladimir@getmangos.com>
Fri, 24 Apr 2009 14:49:42 +0000 (24 18:49 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 24 Apr 2009 14:54:18 +0000 (24 18:54 +0400)
tree885cabd447a53ed0653d9f5225e3fb0c64fc06bd
parentef8b2b828a67ab275fa76334a53ddfa3396330f7
[7709] Cleanups in AI()->AttackedBy use.

* Remove redundent AI()->AttackedBy call at melee cast in state update (called in cast)
* Move attacks state update call after first attack instead after all extra attack state updates.
src/game/Unit.cpp
src/shared/revision_nr.h