From 3691e98814bd667d13da3f4626a8360597d2764f Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 27 Aug 2006 04:56:27 +0000 Subject: [PATCH] Ugh, should not have removed that --- amxmodx/modules.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp index 4ec121b6..49942a8d 100755 --- a/amxmodx/modules.cpp +++ b/amxmodx/modules.cpp @@ -585,6 +585,10 @@ int set_amxnatives(AMX* amx, char error[128]) int unload_amxscript(AMX* amx, void** program) { +#if defined WIN32 + int flags = amx->flags; +#endif + Debugger *pDebugger = (Debugger *)amx->userdata[UD_DEBUGGER]; if (pDebugger) delete pDebugger;