Improving Code

This commit is contained in:
HttrckCldHKS 2014-10-18 11:09:49 -07:00
parent 7ced590cbc
commit d1c0b8fea6

View File

@ -145,8 +145,8 @@ int FF_ChangeLevel = -1;
bool ColoredMenus(String & ModName)
{
static const char * pModNames[] = { "cstrike", "czero", "dmc", "dod", "tfc", "valve" };
static const size_t ModsCount = sizeof(pModNames) / sizeof(const char *);
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)
{