mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-01 23:26:57 +00:00
Fix combatai_notify_onlookers
This commit is contained in:
parent
6cac53d20b
commit
ed7176b796
@ -3593,7 +3593,7 @@ void _combatai_notify_onlookers(Object* a1)
|
||||
if (isWithinPerception(obj, a1)) {
|
||||
obj->data.critter.combat.maneuver |= CRITTER_MANEUVER_ENGAGING;
|
||||
if ((a1->data.critter.combat.results & DAM_DEAD) != 0) {
|
||||
if (!isWithinPerception(obj, obj->data.critter.combat.whoHitMe)) {
|
||||
if (!isWithinPerception(obj, a1->data.critter.combat.whoHitMe)) {
|
||||
debugPrint("\nSomebody Died and I don't know why! Run!!!");
|
||||
aiInfoSetFriendlyDead(obj, a1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user