From 41da9a2df798112cc71bae401ed0202e3a605ea7 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 11 May 2014 13:28:33 +0100 Subject: AGOS: Change "script" debugflag to "subroutine" as more accurate. This flag is used to enable dumping of subroutine scripts at start. --- engines/agos/subroutine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/subroutine.cpp') diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp index f7eec9caaa..1e6ecaa829 100644 --- a/engines/agos/subroutine.cpp +++ b/engines/agos/subroutine.cpp @@ -530,7 +530,7 @@ int AGOSEngine::startSubroutine(Subroutine *sub) { _classMode1 = 0; _classMode2 = 0; - if (DebugMan.isDebugChannelEnabled(kDebugScript)) + if (DebugMan.isDebugChannelEnabled(kDebugSubroutine)) dumpSubroutine(sub); if (++_recursionDepth > 40) -- cgit v1.2.3