mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
parent
b87abb0456
commit
a46c4de918
@ -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…
x
Reference in New Issue
Block a user