mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
fix display maximum proficency reached
This commit is contained in:
parent
7960d5a9a7
commit
f31e5ba85e
1 changed files with 10 additions and 0 deletions
|
@ -240,6 +240,16 @@ namespace MWGui
|
|||
if (value.getBase() < 100) {
|
||||
setSkillProgress(nameWidget, value.getProgress(), parSkill);
|
||||
setSkillProgress(valueWidget, value.getProgress(), parSkill);
|
||||
} else {
|
||||
nameWidget->setUserString("Visible_SkillMaxed", "true");
|
||||
nameWidget->setUserString("UserData^Hidden_SkillMaxed", "false");
|
||||
nameWidget->setUserString("Visible_SkillProgressVBox", "false");
|
||||
nameWidget->setUserString("UserData^Hidden_SkillProgressVBox", "true");
|
||||
|
||||
valueWidget->setUserString("Visible_SkillMaxed", "true");
|
||||
valueWidget->setUserString("UserData^Hidden_SkillMaxed", "false");
|
||||
valueWidget->setUserString("Visible_SkillProgressVBox", "false");
|
||||
valueWidget->setUserString("UserData^Hidden_SkillProgressVBox", "true");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue