mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[9599] Adding a few research comments for unit_flags and rename one.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
1b2eefd721
commit
1f7f5955bf
3 changed files with 4 additions and 3 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue