From 1b53fc70ab1e269967f545179814c790d74edb27 Mon Sep 17 00:00:00 2001
From: hikerstk <hikerstk@178a84e3-b1eb-0310-8ba1-8eac791a3b58>
Date: Thu, 15 Mar 2012 23:28:01 +0000
Subject: [PATCH] Bugfix: the new skidding still applied a slowdown.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
---
 src/karts/kart.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp
index b7d67235f..9d68b8762 100644
--- a/src/karts/kart.cpp
+++ b/src/karts/kart.cpp
@@ -1753,7 +1753,8 @@ void Kart::updateEnginePowerAndBrakes(float dt)
             engine_power *= 5.0f;
 
         // Lose some traction when skidding, to balance the advantage
-        if(m_controls.m_skid)
+        if(m_controls.m_skid && 
+           m_kart_properties->getSkiddingProperties()->getSkidVisualTime()==0)
             engine_power *= 0.5f;
 
         applyEngineForce(engine_power*m_controls.m_accel);