mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +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
@ -76,7 +76,7 @@ bool isCommanded(const MWWorld::Ptr& actor)
|
||||
// Check for command effects having ended and remove package if necessary
|
||||
void adjustCommandedActor (const MWWorld::Ptr& actor)
|
||||
{
|
||||
if (!isCommanded(actor))
|
||||
if (isCommanded(actor))
|
||||
return;
|
||||
|
||||
MWMechanics::CreatureStats& stats = actor.getClass().getCreatureStats(actor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user