add ability to change actor costume via the debugger

svn-id: r6491
This commit is contained in:
Jonathan Gray 2003-01-18 10:38:32 +00:00
parent 18607b346a
commit 41a5927a96

View File

@ -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]);
}