summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
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_