Fix linux warning in previous commit

This commit is contained in:
Arkshine 2014-10-24 11:25:52 +02:00
parent d8fc093fd8
commit 9cf4564057

View File

@ -148,9 +148,9 @@ bool ColoredMenus(String & ModName)
const char * pModNames[] = { "cstrike", "czero", "dmc", "dod", "tfc", "valve" };
const size_t ModsCount = sizeof(pModNames) / sizeof(const char *);
for (int Iterator = 0u; Iterator < ModsCount; ++Iterator)
for (size_t i = 0; i < ModsCount; ++i)
{
if (ModName.compare(pModNames[Iterator]) == 0u)
if (ModName.compare(pModNames[i]) == 0)
return true; // this game modification currently supports colored menus
}