summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-05-20 19:44:27 +0300
committeraunsane <aunsane@gmail.com>2018-05-20 19:44:27 +0300
commit5de8252e58fbdbebb8914e99a90bec06a0ff039f (patch)
treed4022c1e804d636ee933ab1e5475f21f20a47c14 /plugins/MirLua/src/mlua_script.h
parentcf39a24da2375575d0f93b95c7ae258aae1658a7 (diff)
MirLua: environment now inherits CMPluginBase
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r--plugins/MirLua/src/mlua_script.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index 70c044741e..8106c7a00a 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -1,5 +1,4 @@
-#ifndef _LUA_SCRIPT_H_
-#define _LUA_SCRIPT_H_
+#pragma once
class CMLuaScript : public CMLuaEnvironment
{
@@ -15,8 +14,8 @@ private:
Status status;
int unloadRef;
- char *moduleName;
- wchar_t *fileName;
+ //char *moduleName;
+ const wchar_t *fileName;
wchar_t filePath[MAX_PATH];
void Unload();
@@ -38,5 +37,3 @@ public:
bool Load();
bool Reload();
};
-
-#endif //_LUA_SCRIPT_H_