Fixed compilation on linux.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2010-11-24 22:17:39 +00:00
parent f23a247fd2
commit f99d1bd9dc

View File

@@ -904,7 +904,7 @@ void DefaultAIController::findNonCrashingPoint(Vec3 *result)
- m_kart->getXYZ();
float len=direction.length_2d();
unsigned int steps = unsigned int( len / m_kart_length );
unsigned int steps = (unsigned int)( len / m_kart_length );
if( steps < 3 ) steps = 3;
// That shouldn't happen, but since we had one instance of