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:
hikerstk 2008-12-31 00:36:23 +00:00
parent 8eaeebd1e3
commit d7e541a1a0
4 changed files with 4 additions and 4 deletions

View File

@ -159,4 +159,4 @@ void Cake::update(float dt)
}
Flyable::update(dt);
} // update
} // update

View File

@ -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)

View File

@ -275,4 +275,4 @@ void KartModel::resetWheels()
const float suspension[4]={0,0,0,0};
adjustWheels(0, 0, suspension);
}
} // reset
} // reset

View File

@ -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