diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_script.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_script.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp index 7ac927deaf..f2deb2ff27 100644 --- a/plugins/MirLua/src/mlua_script.cpp +++ b/plugins/MirLua/src/mlua_script.cpp @@ -1,12 +1,10 @@ #include "stdafx.h"
-CMLuaScript::CMLuaScript(lua_State *L, const TCHAR* path, int iGroup)
+CMLuaScript::CMLuaScript(lua_State *L, const TCHAR* path)
: L(L), unloadRef(0)
{
mir_tstrcpy(filePath, path);
- group = iGroup;
-
fileName = _tcsrchr(filePath, '\\') + 1;
size_t length = mir_tstrlen(fileName) - 3;
@@ -36,11 +34,6 @@ const TCHAR* CMLuaScript::GetFileName() const return fileName;
}
-const int CMLuaScript::GetGroup() const
-{
- return group;
-}
-
bool CMLuaScript::Load()
{
if (luaL_loadfile(L, T2Utf(filePath)))
|