[9599] Adding a few research comments for unit_flags and rename one.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-03-17 02:03:07 +01:00
parent 1b2eefd721
commit 1f7f5955bf
3 changed files with 4 additions and 3 deletions

View file

@ -10289,6 +10289,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy)
if (creatureNotInCombat)
{
// should probably be removed for the attacked (+ it's party/group) only, not global
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
if (((Creature*)this)->AI())