Fixed bug in sorting function (sorting could be incorrect when

start was != 0). This might also fix ticket 96.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-03-21 06:12:40 +00:00
parent 0aab99abe4
commit 35a964200f

View File

@@ -262,7 +262,7 @@ public:
{
m_contents_vector[i] = m_contents_vector[i-1];
i--;
} while (i>0 && *t<*(m_contents_vector[i-1]));
} while (i>start && *t<*(m_contents_vector[i-1]));
m_contents_vector[i]=t;
}
} // insertionSort