aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
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