1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-26 02:38:04 +00:00

crosshair owned - settings option

This commit is contained in:
Jiří Kuneš 2015-07-17 17:48:38 +02:00
parent 66edae9b93
commit 15107ca5cf
2 changed files with 19 additions and 13 deletions

View File

@ -353,6 +353,8 @@ namespace MWGui
}
void ToolTips::checkOwned()
{
if(Settings::Manager::getBool("show owned", "Game"))
{
MWBase::WindowManager *wm = MWBase::Environment::get().getWindowManager();
@ -372,6 +374,7 @@ namespace MWGui
wm->setCrosshairOwned(false);
}
}
}
MyGUI::IntSize ToolTips::createToolTip(const MWGui::ToolTipInfo& info)
{

View File

@ -162,6 +162,9 @@ best attack = false
difficulty = 0
# change crosshair color when pointing on owned object
show owned = false
[Saves]
character =
# Save when resting