Removed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-06-10 02:21:34 +00:00
parent fd53245e0c
commit 47bee18eff

View File

@@ -83,7 +83,7 @@ void AddonsScreen::init()
float wanted_icon_height = getHeight()/8.0f;
m_icon_bank->setScale(wanted_icon_height/128.0f);
w_list->setIcons(m_icon_bank, wanted_icon_height);
w_list->setIcons(m_icon_bank, (int)(wanted_icon_height));
m_type = "kart";