aboutsummaryrefslogtreecommitdiff
path: root/sword2/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r--sword2/logic.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index 9b65a76e53..3cf0818721 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -22,10 +22,12 @@
#include "sword2/defs.h"
#include "sword2/interpreter.h"
-namespace Sword2 {
-
#define LEVEL (_curObjectHub->logic_level)
+#define Debug_Printf _vm->_debugger->DebugPrintf
+
+namespace Sword2 {
+
/**
* Do one cycle of the current session.
*/