Removed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-12-21 21:02:52 +00:00
parent f398e8744b
commit 2f89789c56

View File

@ -282,7 +282,7 @@ void RaceGUI::drawGlobalTimer()
{
vcenter = true;
const int size = UserConfigParams::m_width/20.0f;
const int size = UserConfigParams::m_width/20;
core::rect<s32> dest(pos.UpperLeftCorner.X - size - 5, pos.UpperLeftCorner.Y,
pos.UpperLeftCorner.X - 5, pos.UpperLeftCorner.Y + size);
core::rect<s32> source(core::position2di(0, 0), m_trophy->getSize());