aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/voyeur/voyeur.cpp5
-rw-r--r--engines/voyeur/voyeur.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 74f03ff652..1ee06e15f1 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -55,6 +55,8 @@ VoyeurEngine::VoyeurEngine(OSystem *syst, const VoyeurGameDescription *gameDesc)
_voyeurArea = AREA_NONE;
_loadGameSlot = -1;
+ DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
+
initialiseManagers();
}
@@ -98,9 +100,6 @@ void VoyeurEngine::initialiseManagers() {
void VoyeurEngine::ESP_Init() {
ThreadResource::init();
- DebugMan.addDebugChannel(kDebugPath, "Path", "Pathfinding debug level");
- DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
-
if (ConfMan.hasKey("save_slot"))
_loadGameSlot = ConfMan.getInt("save_slot");
}
diff --git a/engines/voyeur/voyeur.h b/engines/voyeur/voyeur.h
index bc63d56ddb..08c0a27bef 100644
--- a/engines/voyeur/voyeur.h
+++ b/engines/voyeur/voyeur.h
@@ -66,8 +66,7 @@ namespace Voyeur {
#define MANSION_SCROLL_INC_Y 4
enum VoyeurDebugChannels {
- kDebugPath = 1 << 0,
- kDebugScripts = 1 << 1
+ kDebugScripts = 1 << 0
};
enum VoyeurArea { AREA_NONE, AREA_APARTMENT, AREA_INTERFACE, AREA_ROOM, AREA_EVIDENCE };