aboutsummaryrefslogtreecommitdiff
path: root/debug.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-16 21:03:14 +0000
committerMax Horn2002-07-16 21:03:14 +0000
commit0843a2510c579f5dcc0770ca4ce28f05a881d80a (patch)
treeede01066a4f0dcf24291273945d881f4401152b4 /debug.cpp
parent32e81beb4567d6d8b58fa583558082e8b42ccb42 (diff)
downloadscummvm-rg350-0843a2510c579f5dcc0770ca4ce28f05a881d80a.tar.gz
scummvm-rg350-0843a2510c579f5dcc0770ca4ce28f05a881d80a.tar.bz2
scummvm-rg350-0843a2510c579f5dcc0770ca4ce28f05a881d80a.zip
biiig checkin: removed more stuff from scumm.h; added new headers resource.h and object.h
svn-id: r4579
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 10ac0dfc26..4fe0d6560c 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -102,7 +102,7 @@ bool ScummDebugger::do_command()
printf("Current room: %d [%d]\n", _s->_currentRoom, _s->_roomResource);
} else {
int room = atoi(_parameters);
- _s->actor[_s->_vars[_s->VAR_EGO]].room = room;
+ _s->_actors[_s->_vars[_s->VAR_EGO]].room = room;
_s->startScene(room, 0, 0);
_s->_fullRedraw = 1;
}
@@ -286,7 +286,7 @@ void ScummDebugger::printActors(int act)
printf("+--+----+--------+----+---+-----+---+---+--+-----+-----+---+---+\n");
for (i = 1; i < _s->NUM_ACTORS; i++) {
if (act == -1 || act == i) {
- a = &_s->actor[i];
+ a = &_s->_actors[i];
if (a->visible)
printf("|%2d|%4d|%3d %3d|%4d|%3d|%5d|%3d|%3d|%2d|%5d|%5d|%3d|%3d|\n",
i, a->room, a->x, a->y, a->elevation, a->costume, a->width,