mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 15:10:03 +00:00
Fix inverted logic
This commit is contained in:
parent
f092d8da9a
commit
2531e24ee3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ bool isCommanded(const MWWorld::Ptr& actor)
|
||||||
// Check for command effects having ended and remove package if necessary
|
// Check for command effects having ended and remove package if necessary
|
||||||
void adjustCommandedActor (const MWWorld::Ptr& actor)
|
void adjustCommandedActor (const MWWorld::Ptr& actor)
|
||||||
{
|
{
|
||||||
if (!isCommanded(actor))
|
if (isCommanded(actor))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MWMechanics::CreatureStats& stats = actor.getClass().getCreatureStats(actor);
|
MWMechanics::CreatureStats& stats = actor.getClass().getCreatureStats(actor);
|
||||||
|
|
Loading…
Reference in a new issue