Re-fix the credits code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
bc283dfab6
commit
0892f3004a
@ -234,12 +234,10 @@ void CreditsScreen::loadedFromFile()
|
||||
CreditsEntry entry(line);
|
||||
getCurrentSection()->addEntry( entry );
|
||||
|
||||
for(int j = 1; i + j < translator.size() && j < 4; j ++)
|
||||
for(int j = 0; i + j < translator.size() && j < 4; j ++)
|
||||
{
|
||||
translator[i].append('\n');
|
||||
translator[i].append(translator[i+j]);
|
||||
getCurrentSection()->addSubEntry(translator[i + j]);
|
||||
}
|
||||
getCurrentSection()->addSubEntry(translator[i]);
|
||||
}
|
||||
assert(m_sections.size() > 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user