Fixed incorrect assignment to unsigned variable.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-07-11 13:11:05 +00:00
parent d1bfdd7546
commit db9bf099e5

View File

@ -565,7 +565,7 @@ Kart *World::getPlayerKart(unsigned int n) const
*/
Kart *World::getLocalPlayerKart(unsigned int n) const
{
unsigned int count=-1;
int count=-1;
for(unsigned int i=0; i<m_karts.size(); i++)
{
if(m_karts[i]->getCamera() && m_karts[i]->getController()->isPlayerController())