mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 10:23:56 +00:00
max faction rank crashfix
This commit is contained in:
parent
1079bb2677
commit
40c52c5d09
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ void StatsWindow::updateSkillArea()
|
|||
text += std::string("#DDC79E") + faction->name;
|
||||
text += std::string("\n#BF9959") + faction->ranks[it->second];
|
||||
|
||||
if (it->second < 10)
|
||||
if (it->second < 9)
|
||||
{
|
||||
// player doesn't have max rank yet
|
||||
text += std::string("\n\n#DDC79E#{sNextRank} ") + faction->ranks[it->second+1];
|
||||
|
|
Loading…
Reference in a new issue