diff options
author | Eugene Sandulenko | 2006-05-25 21:16:49 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-05-25 21:16:49 +0000 |
commit | d05138fd9cc694799dcbb8f2b91420576df2238a (patch) | |
tree | 9f03475d6863d563eafba2991759bdb5c121a30b /engines/agi/op_cmd.cpp | |
parent | 5f113b2dc23912b23097131e64680dafa3dcd49a (diff) | |
download | scummvm-rg350-d05138fd9cc694799dcbb8f2b91420576df2238a.tar.gz scummvm-rg350-d05138fd9cc694799dcbb8f2b91420576df2238a.tar.bz2 scummvm-rg350-d05138fd9cc694799dcbb8f2b91420576df2238a.zip |
- Fix typo in debug level Scripts.
- Show scripts execution if requested
svn-id: r22637
Diffstat (limited to 'engines/agi/op_cmd.cpp')
-rw-r--r-- | engines/agi/op_cmd.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp index 94b27ef368..a2bdee438d 100644 --- a/engines/agi/op_cmd.cpp +++ b/engines/agi/op_cmd.cpp @@ -1474,6 +1474,8 @@ int run_logic(int n) { num = logic_names_cmd[op].num_args; memmove(p, code + ip, num); memset(p + num, 0, CMD_BSIZE - num); + + debugC(2, kDebugLevelScripts, "%s(%d %d %d)", logic_names_cmd[op].name, p[0], p[1], p[2]); agi_command[op] (p); ip += num; } @@ -1486,8 +1488,8 @@ int run_logic(int n) { } void execute_agi_command(uint8 op, uint8 *p) { - debugC(2, kDebugLevelScripts, "%s %d %d %d", logic_names_cmd[op].name, p[0], p[1], p[2]); + debugC(2, kDebugLevelScripts, "%s(%d %d %d)", logic_names_cmd[op].name, p[0], p[1], p[2]); agi_command[op] (p); } -} // End of namespace Agi +} // End of namespace Agi |