From 70396a2fc162b9995e56cac0a8b03f1270193f10 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 15 Jul 2005 19:13:50 +0000 Subject: [PATCH] new sdk version (bumped interface!!!!) --- amxmodx/sdk/amxxmodule.cpp | 5 +++-- amxmodx/sdk/amxxmodule.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/amxmodx/sdk/amxxmodule.cpp b/amxmodx/sdk/amxxmodule.cpp index f27f65e6..aa649e2b 100755 --- a/amxmodx/sdk/amxxmodule.cpp +++ b/amxmodx/sdk/amxxmodule.cpp @@ -2429,10 +2429,11 @@ static amxx_module_info_s g_ModuleInfo = MODULE_AUTHOR, MODULE_VERSION, #ifdef MODULE_RELOAD_ON_MAPCHANGE - 1 + 1, #else // MODULE_RELOAD_ON_MAPCHANGE - 0 + 0, #endif // MODULE_RELOAD_ON_MAPCHANGE + MODULE_LOGTAG }; // Storage for the requested functions diff --git a/amxmodx/sdk/amxxmodule.h b/amxmodx/sdk/amxxmodule.h index 772aaa89..74cc5f72 100755 --- a/amxmodx/sdk/amxxmodule.h +++ b/amxmodx/sdk/amxxmodule.h @@ -32,7 +32,7 @@ // ***** AMXX stuff ***** // module interface version is 1 -#define AMXX_INTERFACE_VERSION 1 +#define AMXX_INTERFACE_VERSION 2 // amxx module info struct amxx_module_info_s @@ -41,6 +41,7 @@ struct amxx_module_info_s const char *author; const char *version; int reload; // reload on mapchange when nonzero + const char *logtag; // added in version 2 };