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;