work around strange problem that breaks fbpack when _showStack is a bool...

svn-id: r7027
This commit is contained in:
Jonathan Gray 2003-04-20 14:28:25 +00:00
parent 303a48dbbc
commit 90dd401eab
3 changed files with 5 additions and 4 deletions

View file

@ -335,7 +335,7 @@ bool ScummDebugger::Cmd_Show(int argc, const char **argv) {
_s->_hexdumpScripts = true;
Debug_Printf("Script hex dumping on\n");
} else if (!strncmp(argv[1], "sta", 3)) {
_s->_showStack = true;
_s->_showStack = 1;
Debug_Printf("Stack tracing on\n");
} else {
Debug_Printf("Unknown show parameter '%s'\n", argv[1]);
@ -354,7 +354,7 @@ bool ScummDebugger::Cmd_Hide(int argc, const char **argv) {
_s->_hexdumpScripts = false;
Debug_Printf("Script hex dumping off\n");
} else if (!strncmp(argv[1], "sta", 3)) {
_s->_showStack = false;
_s->_showStack = 0;
Debug_Printf("Stack tracing off\n");
} else {
Debug_Printf("Unknown hide parameter '%s'\n", argv[1]);