summaryrefslogtreecommitdiffstats
path: root/source/SquirrelCommandBinder.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-08 20:09:35 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-08 20:09:35 +0100
commitf7ef93611cb2429ec3f1f5f77befcd1b5647be37 (patch)
tree37a4899bac07800f753c89d44c115b9f570455ed /source/SquirrelCommandBinder.cpp
parentHotfix for ThuGie's crash, with a sanity check in debug mode. (diff)
downloadcuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.gz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.bz2
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.lz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.xz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.zst
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.zip
Diffstat (limited to 'source/SquirrelCommandBinder.cpp')
-rw-r--r--source/SquirrelCommandBinder.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/SquirrelCommandBinder.cpp b/source/SquirrelCommandBinder.cpp
index 50eae9333..9ff8a43f9 100644
--- a/source/SquirrelCommandBinder.cpp
+++ b/source/SquirrelCommandBinder.cpp
@@ -1,6 +1,16 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+
+
+
+#ifdef USE_SQUIRREL
+
+
+
+
+
#include "SquirrelCommandBinder.h"
#include "Player.h"
#include "Plugin.h"
@@ -96,3 +106,13 @@ bool cSquirrelCommandBinder::HandleCommand( const std::string & a_Command, cPlay
}
return false;
}
+
+
+
+
+
+#endif // USE_SQUIRREL
+
+
+
+