aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-18 19:03:08 +0800
committerchai <chaifix@163.com>2018-05-18 19:03:08 +0800
commitccd8422bbe59143a4c62c9ce96c785f3ac75ce89 (patch)
tree95a4156704fd1c52f84a579cf1a68dc170fa6ded /src/script
parent9458eb868631b29e00182c37f1c7e46981b68edd (diff)
添加音乐
Diffstat (limited to 'src/script')
-rw-r--r--src/script/debug/luaopen_debug.cpp1
-rw-r--r--src/script/luaopen_types.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/script/debug/luaopen_debug.cpp b/src/script/debug/luaopen_debug.cpp
index 658899f..b33c058 100644
--- a/src/script/debug/luaopen_debug.cpp
+++ b/src/script/debug/luaopen_debug.cpp
@@ -4,6 +4,5 @@ namespace debug
{
-
}
} \ No newline at end of file
diff --git a/src/script/luaopen_types.h b/src/script/luaopen_types.h
index c6ce202..bb6f5b1 100644
--- a/src/script/luaopen_types.h
+++ b/src/script/luaopen_types.h
@@ -15,15 +15,10 @@ class Proxy
public:
inline void bind(void* obj)
{
- if (obj != 0 && obj != nullptr)
- object = obj;
+ object = obj;
}
void* object;
-
- ~Proxy()
- {
- }
};
#endif