I'm seeing a lot of this in core dumps. Whenever this function is called, it occasionally puts this out with this:
Code:
0x081d080a in EntityList::AIYellForHelp (this=0x8373ec0, sender=0x8bf3738, attacker=0x8c265b0) at aggro.cpp:437
And when I go to line 437, it's a bunch of conditionals:
Code:
if (
mob != sender
&& mob != attacker
// && !mob->IsCorpse()
// && mob->IsAIControlled()
&& mob->GetPrimaryFaction() != 0
&& mob->DistNoRoot(*sender) <= r
&& !mob->IsEngaged()
)
which I assume is being met, due to this being filled in as well as attacker & sender, but since it is generating a core dump I can only assume not.
Anyone have an idea on how to fix this?