fixed warning

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-04-12 18:22:54 +00:00
parent e1f93c4527
commit 57ce9a3879

View File

@ -57,14 +57,12 @@ MainLoop::~MainLoop()
//-----------------------------------------------------------------------------
void MainLoop::loadBackgroundImages()
{
#ifndef HAVE_IRRLICHT
int ind = user_config->getBackgroundIndex();
const std::string &main = stk_config->getMainMenuPicture(ind);
#ifndef HAVE_IRRLICHT
m_title_screen_texture = material_manager->getMaterial(main)->getState()->getTextureHandle();
#endif
const std::string &background = stk_config->getBackgroundPicture(ind);
#ifndef HAVE_IRRLICHT
m_bg_texture = material_manager->getMaterial(background)->getState()->getTextureHandle();
#endif
} // loadBackgroundImages