mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Improving Code
This commit is contained in:
parent
7ced590cbc
commit
d1c0b8fea6
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user