Port for irrlicht 1.6/svn version.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2009-10-05 01:23:10 +00:00
parent efb9726d48
commit 4d6add9f4c

View File

@@ -614,8 +614,12 @@ void RaceGUI::drawMusicDescription()
// Draw text
core::stringw thetext(s.c_str());
#ifdef IRR_SVN
core::dimension2d< u32 > textSize = font->getDimension(thetext.c_str());
#else
core::dimension2d< s32 > textSize = font->getDimension(thetext.c_str());
#endif
const int textWidth = textSize.Width;
core::rect<s32> pos((UserConfigParams::m_width >> 1) + 32, text_y,