forked from mirror/openmw-tes3mp
Remove redundant condition
This commit is contained in:
parent
5105c67642
commit
57d686131e
1 changed files with 1 additions and 1 deletions
|
@ -1606,7 +1606,7 @@ namespace MWMechanics
|
||||||
|
|
||||||
// we should return a wandering actor back after combat
|
// we should return a wandering actor back after combat
|
||||||
// the same thing for actors without AI packages
|
// the same thing for actors without AI packages
|
||||||
if (!aiSequence.isInCombat() && aiSequence.getTypeId() <= MWMechanics::AiPackage::TypeIdWander)
|
if (aiSequence.getTypeId() <= MWMechanics::AiPackage::TypeIdWander)
|
||||||
{
|
{
|
||||||
int typeId = aiSequence.getTypeId();
|
int typeId = aiSequence.getTypeId();
|
||||||
osg::Vec3f dest;
|
osg::Vec3f dest;
|
||||||
|
|
Loading…
Reference in a new issue