Fixed ScreenEvaluationSummary to not run off the end of its banner list if over 5 songs were played. Added Alejandro to translation credits.

This commit is contained in:
Kyzentun
2015-02-10 13:54:33 -07:00
parent d5d53ff2ff
commit 8d5a272d99
2 changed files with 4 additions and 2 deletions
@@ -50,8 +50,9 @@ local stepmania_credits= {
{ {
name= "Translators", name= "Translators",
"John Reactor (Polish)", "John Reactor (Polish)",
"Jarosław Pietras (Polish)", "Jarosław Pietras (Polish update for 5.0.5)",
"DHalens (Spanish)", "DHalens (Spanish)",
"Alejandro G. de la Muñoza (Spanish update for 5.0.5)",
"@Niler_jp (Japanese)", "@Niler_jp (Japanese)",
"Deamon007 (Dutch)" "Deamon007 (Dutch)"
}, },
+2 -1
View File
@@ -258,7 +258,8 @@ void ScreenEvaluation::Init()
{ {
if( SUMMARY ) if( SUMMARY )
{ {
for( unsigned i=0; i<m_pStageStats->m_vpPlayedSongs.size(); i++ ) for( size_t i=0; i<m_pStageStats->m_vpPlayedSongs.size()
&& i < MAX_SONGS_TO_SHOW; i++ )
{ {
Song *pSong = m_pStageStats->m_vpPlayedSongs[i]; Song *pSong = m_pStageStats->m_vpPlayedSongs[i];