summaryrefslogtreecommitdiff
path: root/src/cat/LuaComponent.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-05-11 10:52:35 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-05-11 10:52:35 (GMT)
commitc2cdec9e621a2af25a256a484fdf68adc46ea96f (patch)
tree69aee231e52e8ef85842b6b695c10f6f04aa4b25 /src/cat/LuaComponent.cpp
parentd1c8978a34906c1adb6bdc3fbae7f12c06aa8324 (diff)
downloadpowder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.zip
powder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.tar.gz
Togglable lua scripting
Diffstat (limited to 'src/cat/LuaComponent.cpp')
-rw-r--r--src/cat/LuaComponent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cat/LuaComponent.cpp b/src/cat/LuaComponent.cpp
index 75e7a21..c32db6d 100644
--- a/src/cat/LuaComponent.cpp
+++ b/src/cat/LuaComponent.cpp
@@ -1,3 +1,4 @@
+#ifdef LUACONSOLE
extern "C"
{
#include "lua.h"
@@ -79,4 +80,5 @@ LuaComponent::~LuaComponent()
if(component->GetParentWindow())
component->GetParentWindow()->RemoveComponent(component);
delete component;
-} \ No newline at end of file
+}
+#endif \ No newline at end of file