From 582bd86cddcbb3fa51aac0d38e3befd962bdcdc3 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 8 Dec 2008 08:32:12 +0000 Subject: [PATCH] Bugfix: restarting a race could cause a crash in the skid marks. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2581 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/skid_marks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphics/skid_marks.cpp b/src/graphics/skid_marks.cpp index 7c3fd14ff..0c668ee88 100644 --- a/src/graphics/skid_marks.cpp +++ b/src/graphics/skid_marks.cpp @@ -56,6 +56,7 @@ void SkidMarks::reset() m_left.clear(); m_right.clear(); m_skid_marking = false; + m_current = -1; } // reset //-----------------------------------------------------------------------------