mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-09 09:36:42 +00:00
Merge branch 'single_character_changes_are_the_best' into 'master'
Fix inverted logic Closes #6755 See merge request OpenMW/openmw!1866
This commit is contained in:
commit
5110c4a50e
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