aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/debugger.cpp2
-rw-r--r--engines/kyra/debugger.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/debugger.cpp b/engines/kyra/debugger.cpp
index 186696edc9..a77ffee299 100644
--- a/engines/kyra/debugger.cpp
+++ b/engines/kyra/debugger.cpp
@@ -462,6 +462,7 @@ bool Debugger_HoF::cmd_passcodes(int argc, const char **argv) {
#pragma mark -
+#ifdef ENABLE_LOL
Debugger_LoL::Debugger_LoL(LoLEngine *vm) : Debugger(vm), _vm(vm) {
}
@@ -511,6 +512,7 @@ bool Debugger_LoL::cmd_queryFlag(int argc, const char **argv) {
return true;
}
+#endif // ENABLE_LOL
} // End of namespace Kyra
diff --git a/engines/kyra/debugger.h b/engines/kyra/debugger.h
index 04f138b491..b01402f7d5 100644
--- a/engines/kyra/debugger.h
+++ b/engines/kyra/debugger.h
@@ -97,6 +97,7 @@ protected:
bool cmd_passcodes(int argc, const char **argv);
};
+#ifdef ENABLE_LOL
class LoLEngine;
class Debugger_LoL : public Debugger {
@@ -110,6 +111,7 @@ protected:
bool cmd_toggleFlag(int argc, const char **argv);
bool cmd_queryFlag(int argc, const char **argv);
};
+#endif // ENABLE_LOL
} // End of namespace Kyra