Added missing initialising (which can cause AI karts to
be rescued at the beginning of a race). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
320469bbaa
commit
beb8c742db
@ -755,12 +755,10 @@ void DefaultRobot::reset()
|
|||||||
|
|
||||||
m_crash_time = 0.0f;
|
m_crash_time = 0.0f;
|
||||||
|
|
||||||
#if 0
|
|
||||||
m_time_since_stuck = 0.0f;
|
m_time_since_stuck = 0.0f;
|
||||||
#endif
|
|
||||||
|
|
||||||
AutoKart::reset();
|
AutoKart::reset();
|
||||||
}
|
} // reset
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
inline float DefaultRobot::normalize_angle( float angle )
|
inline float DefaultRobot::normalize_angle( float angle )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user