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:
		
				
					committed by
					
						
						Vincent Herbet
					
				
			
			
				
	
			
			
			
						parent
						
							65df386d66
						
					
				
				
					commit
					7c4688f557
				
			@@ -25,7 +25,7 @@
 | 
			
		||||
#define MODULE_LIBRARY "dodx"
 | 
			
		||||
#define MODULE_LIBCLASS "xstats"
 | 
			
		||||
// 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__
 | 
			
		||||
#define MODULE_DATE __DATE__
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user