aboutsummaryrefslogtreecommitdiff
path: root/debug.cpp
diff options
context:
space:
mode:
authorJames Brown2002-05-11 19:17:58 +0000
committerJames Brown2002-05-11 19:17:58 +0000
commitd63e03a00e4db2389e7d72c0c6b9f9f13b05a5de (patch)
tree6a6834719c8bdcbe37ff5b881b8fca8a53765c5e /debug.cpp
parent0d1e7d04ae15b4c769d4eeaccfe37751eb679072 (diff)
downloadscummvm-rg350-d63e03a00e4db2389e7d72c0c6b9f9f13b05a5de.tar.gz
scummvm-rg350-d63e03a00e4db2389e7d72c0c6b9f9f13b05a5de.tar.bz2
scummvm-rg350-d63e03a00e4db2389e7d72c0c6b9f9f13b05a5de.zip
Add paramless 'r' debug command to show the current room.
svn-id: r4280
Diffstat (limited to 'debug.cpp')
-rw-r--r--debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.cpp b/debug.cpp
index 4116086eb3..8331168912 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -73,7 +73,7 @@ bool ScummDebugger::do_command()
"(q)uit -> quit the debugger\n"
"(g)o [numframes] -> increase frame\n"
"(a)ctor [actornum] -> show actor information\n"
- "(r)oom roomnum -> load room\n"
+ "(r)oom [roomnum] -> load room\n"
"(s)cripts -> show running scripts\n"
"(b)oxes -> list and draw boxen\n"
"(v)ariable -> set or show a variable value\n"
@@ -102,7 +102,7 @@ bool ScummDebugger::do_command()
return true;
case CMD_LOAD_ROOM:
if (!_parameters[0]) {
- printf("Enter a room number...\n");
+ printf("Current room: %d [%d]\n", _s->_currentRoom, _s->_roomResource);
} else {
int room = atoi(_parameters);
_s->actor[_s->_vars[_s->VAR_EGO]].room = room;