Fix NPCs not joining combat
This commit is contained in:
parent
bffe81d0b3
commit
ad3860790c
|
@ -3167,11 +3167,11 @@ bool _combatai_want_to_join(Object* a1)
|
|||
return true;
|
||||
}
|
||||
|
||||
if ((a1->data.critter.combat.maneuver & CRITTER_MANEUVER_STOP_ATTACKING) == 0) {
|
||||
if ((a1->data.critter.combat.maneuver & CRITTER_MANEUVER_STOP_ATTACKING) != 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((a1->data.critter.combat.maneuver & CRITTER_MANUEVER_FLEEING) == 0) {
|
||||
if ((a1->data.critter.combat.maneuver & CRITTER_MANUEVER_FLEEING) != 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue