Fixed compiler warning.

This commit is contained in:
hiker
2014-10-08 22:49:32 +11:00
parent f11b482576
commit bc7d8f6103

View File

@@ -436,7 +436,7 @@ bool onEvent(const SEvent &event)
else if (cmdID == DEBUG_HIDE_KARTS)
{
if (!world) return false;
for (int n = 0; n<world->getNumKarts(); n++)
for (unsigned int n = 0; n<world->getNumKarts(); n++)
{
AbstractKart* kart = world->getKart(n);
if (kart->getController()->isPlayerController())