From a362a157418e2cb1b3e16877e8d6eefa0b47dc76 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 00:51:57 +0300 Subject: plugin info must be filled --- plugins/MirLua/src/environment.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/MirLua') diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp index e0a5689296..ca04746b44 100644 --- a/plugins/MirLua/src/environment.cpp +++ b/plugins/MirLua/src/environment.cpp @@ -2,8 +2,10 @@ #define MT_ENVIRONMENT "ENVIRONMENT" -CMLuaEnvironment::CMLuaEnvironment(lua_State *L) - : CMPluginBase(nullptr, *(PLUGININFOEX*)nullptr), L(L) +extern PLUGININFOEX pluginInfoEx; + +CMLuaEnvironment::CMLuaEnvironment(lua_State*) + : CMPluginBase(nullptr, pluginInfoEx) { MUUID muidLast = MIID_LAST; m_hLang = GetPluginLangId(muidLast, 0); -- cgit v1.2.3