1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

bugfix of bugfix ^^

This commit is contained in:
gus 2013-10-27 13:21:16 +01:00
parent 94069e3a7e
commit 882b136b35

View File

@ -23,7 +23,8 @@ void MWMechanics::AiSequence::copy (const AiSequence& sequence)
iter!=sequence.mPackages.end(); ++iter)
mPackages.push_back ((*iter)->clone());
mCombat = sequence.mCombat;
mCombatPackage = sequence.mCombatPackage->clone();
mCombatPackage = 0;
if(sequence.mCombat) mCombatPackage = sequence.mCombatPackage->clone();
}
MWMechanics::AiSequence::AiSequence() : mDone (false), mCombat (false), mCombatPackage (0) {}