aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 4c8fd2172a..edf36d52a5 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -1079,15 +1079,15 @@ bool Console::cmdDrawCel(int argc, const char **argv) {
#ifdef ENABLE_SCI32
bool Console::cmdDrawRobot(int argc, const char **argv) {
if (argc < 2) {
- DebugPrintf("Draws a frame from a robot resource\n");
+ DebugPrintf("Draws frames from a robot resource\n");
DebugPrintf("Usage: %s <resourceId>\n", argv[0]);
DebugPrintf("where <resourceId> is the id of the robot resource to draw\n");
return true;
}
- //uint16 resourceId = atoi(argv[1]);
+ uint16 resourceId = atoi(argv[1]);
- _vm->_gamestate->_gui->drawRobot();
+ _vm->_gamestate->_gui->drawRobot(resourceId);
return true;
}
#endif