Fixed my previous commit, which stopped the AI from skidding with

the old skidding mode, not as intended with the new skidding code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2012-03-02 00:52:02 +00:00
parent 285789111f
commit 01f57291fe

View File

@ -312,7 +312,7 @@ void AIBaseController::setSteering(float angle, float dt)
// FIXME: Disable skidding for now if the new skidding
// code is activated, since the AI can not handle this
// properly.
if(m_kart->getKartProperties()->getSkidVisualTime()<=0)
if(m_kart->getKartProperties()->getSkidVisualTime()>0)
m_controls->m_drift = false;
float old_steer = m_controls->m_steer;