mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2025-02-23 15:40:41 +00:00
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…
x
Reference in New Issue
Block a user