mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
parent
b87abb0456
commit
a46c4de918
1 changed files with 4 additions and 0 deletions
|
@ -281,6 +281,10 @@ void AiSequence::stack (const AiPackage& package, const MWWorld::Ptr& actor)
|
|||
}
|
||||
}
|
||||
|
||||
// Stop combat when a non-combat AI package is added
|
||||
if (isActualAiPackage(package.getTypeId()))
|
||||
stopCombat();
|
||||
|
||||
// remove previous packages if required
|
||||
if (package.shouldCancelPreviousAi())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue