Fixed minor compilation warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8eaeebd1e3
commit
d7e541a1a0
@ -159,4 +159,4 @@ void Cake::update(float dt)
|
||||
}
|
||||
|
||||
Flyable::update(dt);
|
||||
} // update
|
||||
} // update
|
||||
|
@ -573,7 +573,7 @@ void Kart::update(float dt)
|
||||
{
|
||||
// let kart fall a bit before rescuing
|
||||
if( RaceManager::getTrack()->m_left_driveline.size() > 0 &&
|
||||
abs( getXYZ().getZ() - RaceManager::getTrack()->m_left_driveline[0].getZ() ) > 17)
|
||||
fabs( getXYZ().getZ() - RaceManager::getTrack()->m_left_driveline[0].getZ() ) > 17)
|
||||
forceRescue();
|
||||
}
|
||||
else if(material)
|
||||
|
@ -275,4 +275,4 @@ void KartModel::resetWheels()
|
||||
const float suspension[4]={0,0,0,0};
|
||||
adjustWheels(0, 0, suspension);
|
||||
}
|
||||
} // reset
|
||||
} // reset
|
||||
|
@ -363,4 +363,4 @@ void PlayerKart::doingShortcut()
|
||||
// Can happen if the option menu is called
|
||||
if(m)
|
||||
m->addMessage(_("Invalid short-cut!!"), this, 2.0f, 60);
|
||||
} // doingShortcut
|
||||
} // doingShortcut
|
||||
|
Loading…
x
Reference in New Issue
Block a user