diff options
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/m_icolib.cpp | 2 | ||||
-rw-r--r-- | plugins/MirLua/src/mlua.cpp | 3 | ||||
-rw-r--r-- | plugins/MirLua/src/version.h | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/plugins/MirLua/src/m_icolib.cpp b/plugins/MirLua/src/m_icolib.cpp index 00411fbf85..171ed373ab 100644 --- a/plugins/MirLua/src/m_icolib.cpp +++ b/plugins/MirLua/src/m_icolib.cpp @@ -17,7 +17,7 @@ static int lua_AddIcon(lua_State *L) si.defaultFile.t = filePath;
si.iDefaultIndex = -IDI_ICON;
- HANDLE res = ::IcoLib_AddIcon(&si);
+ HANDLE res = ::IcoLib_AddIcon(&si, hScriptsLangpack);
lua_pushlightuserdata(L, res);
return 1;
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp index 2fabce2740..61405de928 100644 --- a/plugins/MirLua/src/mlua.cpp +++ b/plugins/MirLua/src/mlua.cpp @@ -59,7 +59,8 @@ void CMLua::Unload() CallService(MS_NETLIB_LOG, (WPARAM)hNetlib, (LPARAM)"Unloading lua engine");
NotifyEventHooks(hUnloadEvent);
-
+
+ ::KillModuleIcons(hScriptsLangpack);
::KillModuleMenus(hScriptsLangpack);
CMLua::KillModuleServices();
CMLua::KillModuleEventHooks();
diff --git a/plugins/MirLua/src/version.h b/plugins/MirLua/src/version.h index 3a38e21e9f..7be6f65f4a 100644 --- a/plugins/MirLua/src/version.h +++ b/plugins/MirLua/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 3
-#define __BUILD_NUM 4
+#define __BUILD_NUM 5
#include <stdver.h>
|