|
|
@ -976,11 +976,11 @@ namespace MWMechanics
|
|
|
|
|
|
|
|
|
|
|
|
if (!detected)
|
|
|
|
if (!detected)
|
|
|
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(true);
|
|
|
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(false);
|
|
|
|
MWBase::Environment::get().getWindowManager()->setSneakVisibility(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Actors::restoreDynamicStats(bool sleep)
|
|
|
|
void Actors::restoreDynamicStats(bool sleep)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
for(PtrControllerMap::iterator iter(mActors.begin());iter != mActors.end();++iter)
|
|
|
|
for(PtrControllerMap::iterator iter(mActors.begin());iter != mActors.end();++iter)
|
|
|
|