Music description is now displayed as

"title"
  by Name


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-02-12 00:16:59 +00:00
parent 1d11a1fac9
commit f03fee4c9e

View File

@ -874,7 +874,10 @@ void RaceGUI::drawMusicDescription()
int y=0;
for(int i=(int)description.size()-1; i>=0; i--)
{
font_race->Print( description[i].c_str(), 25,
std::string s=description[i];
if(i==0) s="\""+s+"\"";
if(i==1) s="by "+s;
font_race->Print( s.c_str(), 25,
Font::CENTER_OF_SCREEN, y,
255, 255, 255);
y+=20;