Fixed compiler warnings.
This commit is contained in:
parent
94400b12d6
commit
b3af6a0473
@ -75,7 +75,7 @@ GhostReplayInfoDialog::GhostReplayInfoDialog(unsigned int replay_id,
|
|||||||
|
|
||||||
/* Used to display kart icons for the selected replay(s) */
|
/* Used to display kart icons for the selected replay(s) */
|
||||||
irr::gui::STKModifiedSpriteBank *icon_bank = GhostReplaySelection::getInstance()->getIconBank();
|
irr::gui::STKModifiedSpriteBank *icon_bank = GhostReplaySelection::getInstance()->getIconBank();
|
||||||
int icon_height = getHeight()/18.0f;
|
int icon_height = getHeight()/18;
|
||||||
m_replay_info_widget->setIcons(icon_bank, (int)icon_height);
|
m_replay_info_widget->setIcons(icon_bank, (int)icon_height);
|
||||||
|
|
||||||
updateReplayDisplayedInfo();
|
updateReplayDisplayedInfo();
|
||||||
|
@ -159,7 +159,7 @@ void GhostReplaySelection::init()
|
|||||||
|
|
||||||
m_icon_unknown_kart = m_icon_bank->addTextureAsSprite(kart_not_found);
|
m_icon_unknown_kart = m_icon_bank->addTextureAsSprite(kart_not_found);
|
||||||
|
|
||||||
int icon_height = getHeight()/24.0f;
|
int icon_height = getHeight()/24;
|
||||||
// 128 is the height of the image file
|
// 128 is the height of the image file
|
||||||
//FIXME : this isn't guaranteed
|
//FIXME : this isn't guaranteed
|
||||||
// Amanda's icon is 300x300
|
// Amanda's icon is 300x300
|
||||||
|
Loading…
x
Reference in New Issue
Block a user