summaryrefslogtreecommitdiffstats
path: root/source/cRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cRoot.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/cRoot.cpp b/source/cRoot.cpp
index 4d69635e2..317b03ca3 100644
--- a/source/cRoot.cpp
+++ b/source/cRoot.cpp
@@ -16,12 +16,13 @@
#include "cRedstone.h"
#include "blocks/Block.h"
#include "items/Item.h"
-#if USE_SQUIRREL
-#include "squirrelbindings/SquirrelFunctions.h"
-#include "squirrelbindings/SquirrelBindings.h"
-#endif
#include "cChunk.h"
+#ifdef USE_SQUIRREL
+ #include "squirrelbindings/SquirrelFunctions.h"
+ #include "squirrelbindings/SquirrelBindings.h"
+#endif
+
#include "../iniFile/iniFile.h"
#include <iostream>
@@ -177,7 +178,7 @@ void cRoot::Start()
delete m_PluginManager; m_PluginManager = 0; // This should be first
- #if USE_SQUIRREL
+ #ifdef USE_SQUIRREL
CloseSquirrelVM();
#endif
LOG("Freeing MonsterConfig...");