Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
841f11351a
commit
4b1be01dde
@ -177,8 +177,8 @@ void AIBaseController::crashed(const Material *m)
|
||||
// Note that typically it takes ~0.5 seconds for the AI to hit
|
||||
// the track again if it is stuck (i.e. time for the push back plus
|
||||
// time for the AI to accelerate and hit the terrain again).
|
||||
const int NUM_COLLISION = 3;
|
||||
const float COLLISION_TIME = 1.5f;
|
||||
const unsigned int NUM_COLLISION = 3;
|
||||
const float COLLISION_TIME = 1.5f;
|
||||
|
||||
float time = m_world->getTime();
|
||||
if(m_collision_times.size()==0)
|
||||
|
Loading…
Reference in New Issue
Block a user