new sdk version (bumped interface!!!!)

This commit is contained in:
David Anderson 2005-07-15 19:13:50 +00:00
parent 1a53b7bba7
commit 70396a2fc1
2 changed files with 5 additions and 3 deletions

View File

@ -2429,10 +2429,11 @@ static amxx_module_info_s g_ModuleInfo =
MODULE_AUTHOR, MODULE_AUTHOR,
MODULE_VERSION, MODULE_VERSION,
#ifdef MODULE_RELOAD_ON_MAPCHANGE #ifdef MODULE_RELOAD_ON_MAPCHANGE
1 1,
#else // MODULE_RELOAD_ON_MAPCHANGE #else // MODULE_RELOAD_ON_MAPCHANGE
0 0,
#endif // MODULE_RELOAD_ON_MAPCHANGE #endif // MODULE_RELOAD_ON_MAPCHANGE
MODULE_LOGTAG
}; };
// Storage for the requested functions // Storage for the requested functions

View File

@ -32,7 +32,7 @@
// ***** AMXX stuff ***** // ***** AMXX stuff *****
// module interface version is 1 // module interface version is 1
#define AMXX_INTERFACE_VERSION 1 #define AMXX_INTERFACE_VERSION 2
// amxx module info // amxx module info
struct amxx_module_info_s struct amxx_module_info_s
@ -41,6 +41,7 @@ struct amxx_module_info_s
const char *author; const char *author;
const char *version; const char *version;
int reload; // reload on mapchange when nonzero int reload; // reload on mapchange when nonzero
const char *logtag; // added in version 2
}; };