Minor bugfix, in case that no music is available.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-05-11 05:45:02 +00:00
parent 58ceb1c67d
commit 76022a9378

View File

@ -869,7 +869,7 @@ void RaceGUI::addMessage(const char *msg, Kart *kart, float time,
void RaceGUI::drawMusicDescription()
{
const MusicInformation* mi=sound_manager->getCurrentMusic();
if(!mi) return;
int y=0;
if(mi->getComposer()!="")
{