mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
add ability to change actor costume via the debugger
svn-id: r6491
This commit is contained in:
parent
18607b346a
commit
41a5927a96
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user