forked from teamnwah/openmw-tes3coop
fixed placement of else statement
This commit is contained in:
parent
78f76842a6
commit
d4812c3af9
1 changed files with 2 additions and 2 deletions
|
@ -976,9 +976,9 @@ namespace MWMechanics
|
||||||
|
|
||||||
if (!detected)
|
if (!detected)
|
||||||
MWBase::Environment::get().getWindowManager()->setSneakVisibility(true);
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(true);
|
||||||
else
|
|
||||||
MWBase::Environment::get().getWindowManager()->setSneakVisibility(false);
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void Actors::restoreDynamicStats(bool sleep)
|
void Actors::restoreDynamicStats(bool sleep)
|
||||||
|
|
Loading…
Reference in a new issue