1
0
Fork 0
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:
scrawl 2012-05-21 05:19:20 +02:00
parent 1079bb2677
commit 40c52c5d09

View file

@ -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];