Comment MODULE_RELOAD_ON_MAP_CHANGE on modules that use USE_METAMOD (#484)

Currently amxmodx doesn't reload modules that use metamod, so MODULE_RELOAD_ON_MAP_CHANGE being defined or not doesn't make any difference.
Even though this commit currently doesn't change any behavior, amxmodx might in the future support reloading modules that use metamod, and all these modules in their current state either fail completely because of erroneous cleanup, or are untested (and most likely leak stuff).
Furthermore, these changes make it clear that these modules are in fact not being reloaded.
This commit is contained in:
IgnacioFDM 2018-03-09 15:37:46 -03:00 committed by Vincent Herbet
parent 65df386d66
commit 7c4688f557
12 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "cstrike" #define MODULE_LIBRARY "cstrike"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "csx" #define MODULE_LIBRARY "csx"
#define MODULE_LIBCLASS "xstats" #define MODULE_LIBCLASS "xstats"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "dodfun" #define MODULE_LIBRARY "dodfun"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "dodx" #define MODULE_LIBRARY "dodx"
#define MODULE_LIBCLASS "xstats" #define MODULE_LIBCLASS "xstats"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "engine" #define MODULE_LIBRARY "engine"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "fakemeta" #define MODULE_LIBRARY "fakemeta"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -26,7 +26,7 @@
#define MODULE_LIBRARY "fun" #define MODULE_LIBRARY "fun"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "geoip" #define MODULE_LIBRARY "geoip"
#define MODULE_LIBCLASS "" #define MODULE_LIBCLASS ""
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -35,7 +35,7 @@
#define MODULE_LIBRARY "mysql" #define MODULE_LIBRARY "mysql"
#define MODULE_LIBCLASS "sqlx" #define MODULE_LIBCLASS "sqlx"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -25,7 +25,7 @@
#define MODULE_LIBRARY "sqlite" #define MODULE_LIBRARY "sqlite"
#define MODULE_LIBCLASS "sqlx" #define MODULE_LIBCLASS "sqlx"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -26,7 +26,7 @@
#define MODULE_LIBRARY "tfcx" #define MODULE_LIBRARY "tfcx"
#define MODULE_LIBCLASS "xstats" #define MODULE_LIBCLASS "xstats"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__

View File

@ -26,7 +26,7 @@
#define MODULE_LIBRARY "tsx" #define MODULE_LIBRARY "tsx"
#define MODULE_LIBCLASS "xstats" #define MODULE_LIBCLASS "xstats"
// If you want the module not to be reloaded on mapchange, remove / comment out the next line // If you want the module not to be reloaded on mapchange, remove / comment out the next line
#define MODULE_RELOAD_ON_MAPCHANGE // #define MODULE_RELOAD_ON_MAPCHANGE
#ifdef __DATE__ #ifdef __DATE__
#define MODULE_DATE __DATE__ #define MODULE_DATE __DATE__