diff options
author | Max Horn | 2003-09-14 18:16:45 +0000 |
---|---|---|
committer | Max Horn | 2003-09-14 18:16:45 +0000 |
commit | 6512592d0f0be9afcc0f3aa30b1b505490ebea54 (patch) | |
tree | 59eb579d38946c02e2d579de1c6d106ecacf4114 /scumm/script_v2.cpp | |
parent | fd7727e9d2a5414e021439eb88d30ca687ac691e (diff) | |
download | scummvm-rg350-6512592d0f0be9afcc0f3aa30b1b505490ebea54.tar.gz scummvm-rg350-6512592d0f0be9afcc0f3aa30b1b505490ebea54.tar.bz2 scummvm-rg350-6512592d0f0be9afcc0f3aa30b1b505490ebea54.zip |
moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index a6eb2fd26e..3034fd1d37 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1291,8 +1291,8 @@ void Scumm_v2::o2_loadRoomWithEgo() { a->putActor(x2, y2, _currentRoom); a->setDirection(dir + 180); - camera._dest.x = camera._cur.x = a->x; - setCameraAt(a->x, a->y); + camera._dest.x = camera._cur.x = a->_pos.x; + setCameraAt(a->_pos.x, a->_pos.y); setCameraFollows(a); _fullRedraw = 1; |