mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 21:41:33 +00:00
Added else statement
Its still dodgy though
This commit is contained in:
parent
7d5dab214c
commit
78f76842a6
1 changed files with 2 additions and 0 deletions
|
@ -976,6 +976,8 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue