mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 20:15:33 +00:00
Exception fix
This commit is contained in:
parent
baf490a2b5
commit
cbec0ffaee
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ namespace MWMechanics
|
|||
if (iter->first.getClass().isClass(iter->first, "Guard"))
|
||||
{
|
||||
MWMechanics::AiSequence& aiSeq = iter->first.getClass().getCreatureStats(iter->first).getAiSequence();
|
||||
if (aiSeq.getActivePackage()->getTypeId() == MWMechanics::AiPackage::TypeIdPursue)
|
||||
if (aiSeq.getTypeId() == MWMechanics::AiPackage::TypeIdPursue)
|
||||
{
|
||||
aiSeq.stopPursuit();
|
||||
aiSeq.stack(MWMechanics::AiCombat(target), ptr);
|
||||
|
|
Loading…
Reference in a new issue