diff options
author | Jonathan Gray | 2003-01-18 10:38:32 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-01-18 10:38:32 +0000 |
commit | 41a5927a96e8c6c90256a12a2d7001dcf809e56f (patch) | |
tree | 82559b36d540dcdaadf26567ca70949683919dc7 /scumm/debugger.cpp | |
parent | 18607b346aef99c48cdb2b3e6084a7dceb43f516 (diff) | |
download | scummvm-rg350-41a5927a96e8c6c90256a12a2d7001dcf809e56f.tar.gz scummvm-rg350-41a5927a96e8c6c90256a12a2d7001dcf809e56f.tar.bz2 scummvm-rg350-41a5927a96e8c6c90256a12a2d7001dcf809e56f.zip |
add ability to change actor costume via the debugger
svn-id: r6491
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r-- | scumm/debugger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index f02103d798..f6c149b2f3 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -320,6 +320,9 @@ bool ScummDebugger::Cmd_Actor(int argc, const char **argv) { if (!strcmp(argv[2], "ignoreboxes")) { a->ignoreBoxes = atoi(argv[3]); Debug_Printf("Actor[%d].ignoreBoxes = %d\n", actnum, a->ignoreBoxes); + } else if (!strcmp(argv[2], "costume")) { + a->setActorCostume( atoi(argv[3]) ); + Debug_Printf("Actor[%d].costume = %d\n", actnum, a->costume); } else { Debug_Printf("Unknown actor command '%s'\n", argv[2]); } |