From d1c0b8fea617357795bd3f0f870fe96ab54d5c47 Mon Sep 17 00:00:00 2001 From: HttrckCldHKS Date: Sat, 18 Oct 2014 11:09:49 -0700 Subject: [PATCH] Improving Code --- amxmodx/meta_api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 1253b5d2..8ae5611a 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -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) {