diff --git a/amxmodx/CPlugin.cpp b/amxmodx/CPlugin.cpp index 4dea3c6f..375b3125 100755 --- a/amxmodx/CPlugin.cpp +++ b/amxmodx/CPlugin.cpp @@ -754,5 +754,3 @@ void CPluginMngr::CALMFromFile(const char *file) fclose(fp); } - - diff --git a/amxmodx/CoreConfig.cpp b/amxmodx/CoreConfig.cpp index 8ed2fd31..e424f8f9 100644 --- a/amxmodx/CoreConfig.cpp +++ b/amxmodx/CoreConfig.cpp @@ -255,7 +255,7 @@ void CoreConfig::ExecuteMapConfig() char *mapPrefix; - if (mapPrefix = strtok(mapName, "_")) + if ((mapPrefix = strtok(mapName, "_"))) { UTIL_Format(cfgPath, sizeof(cfgPath), "%s/%s%s/prefix_%s.cfg", g_mod_name.chars(), configsDir, MapConfigDir, mapPrefix);