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/gfx.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/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 294962e5fc..f2df497714 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -662,8 +662,8 @@ void Scumm::drawFlashlight() { y = _mouse.y - virtscr[0].topline; } else { Actor *a = derefActor(VAR(VAR_EGO), "drawFlashlight"); - x = a->x; - y = a->y; + x = a->_pos.x; + y = a->_pos.y; } _flashlight.w = _flashlight.xStrips * 8; _flashlight.h = _flashlight.yStrips * 8; |