Fixed compiler warnings
This commit is contained in:
parent
ba1da58f0b
commit
b70bd83d9c
@ -1522,7 +1522,7 @@ void Skin::drawIconButton(const core::recti &rect, Widget* widget,
|
||||
|
||||
IconButtonWidget* icon_widget = (IconButtonWidget*) widget;
|
||||
|
||||
if (icon_widget->hasTooltip() > 0)
|
||||
if (icon_widget->hasTooltip())
|
||||
{
|
||||
const core::position2di mouse_position =
|
||||
irr_driver->getDevice()->getCursorControl()->getPosition();
|
||||
|
@ -647,7 +647,7 @@ public:
|
||||
return m_kart_status[kart].m_difficulty;
|
||||
} // getPlayerDifficulty
|
||||
// ------------------------------------------------------------------------
|
||||
float hasBoostedAI(int kart) const
|
||||
bool hasBoostedAI(int kart) const
|
||||
{
|
||||
return m_kart_status[kart].m_boosted_ai;
|
||||
} // getKartRaceTime
|
||||
|
Loading…
x
Reference in New Issue
Block a user