mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 21:45:34 +00:00
Show owner of doors in tooltip
This commit is contained in:
parent
5fbce67b9d
commit
048d07b299
1 changed files with 4 additions and 1 deletions
|
@ -250,8 +250,11 @@ namespace MWClass
|
|||
text += "\n#{sTrapped}";
|
||||
|
||||
if (MWBase::Environment::get().getWindowManager()->getFullHelp())
|
||||
{
|
||||
text += MWGui::ToolTips::getMiscString(ref->mBase->mScript, "Script");
|
||||
|
||||
text += MWGui::ToolTips::getMiscString(ptr.getCellRef().getOwner(), "Owner");
|
||||
text += MWGui::ToolTips::getMiscString(ptr.getCellRef().getFaction(), "Faction");
|
||||
}
|
||||
info.text = text;
|
||||
|
||||
return info;
|
||||
|
|
Loading…
Reference in a new issue