mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 00:23:53 +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
|
// remove previous packages if required
|
||||||
if (package.shouldCancelPreviousAi())
|
if (package.shouldCancelPreviousAi())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue