mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Merge remote-tracking branch 'mrcheko/master'
This commit is contained in:
commit
58afa58549
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ void AiSequence::execute (const MWWorld::Ptr& actor,float duration)
|
|||
// target disappeared (e.g. summoned creatures)
|
||||
if (target.isEmpty())
|
||||
{
|
||||
delete *it;
|
||||
mPackages.erase(it++);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue