forked from mirror/openmw-tes3mp
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("#DDC79E") + faction->name;
|
||||||
text += std::string("\n#BF9959") + faction->ranks[it->second];
|
text += std::string("\n#BF9959") + faction->ranks[it->second];
|
||||||
|
|
||||||
if (it->second < 10)
|
if (it->second < 9)
|
||||||
{
|
{
|
||||||
// player doesn't have max rank yet
|
// player doesn't have max rank yet
|
||||||
text += std::string("\n\n#DDC79E#{sNextRank} ") + faction->ranks[it->second+1];
|
text += std::string("\n\n#DDC79E#{sNextRank} ") + faction->ranks[it->second+1];
|
||||||
|
|
Loading…
Reference in a new issue