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:
parent
58ceb1c67d
commit
76022a9378
@ -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()!="")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user