aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-15 22:41:35 +0000
committerMax Horn2003-05-15 22:41:35 +0000
commit7baef4ad4eb5768e3222cfe85d3b716cd65f4705 (patch)
treed99078aef64e66a10dff9af15de5b5724799e6c6 /scumm/gfx.cpp
parenta8603e5bfc286dc286d20831ae3f025be0a4940c (diff)
downloadscummvm-rg350-7baef4ad4eb5768e3222cfe85d3b716cd65f4705.tar.gz
scummvm-rg350-7baef4ad4eb5768e3222cfe85d3b716cd65f4705.tar.bz2
scummvm-rg350-7baef4ad4eb5768e3222cfe85d3b716cd65f4705.zip
make some more use of ScummVM::Point; cleanup
svn-id: r7549
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index a45f9fae1c..45da9e7b4a 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -601,8 +601,8 @@ void Scumm::drawFlashlight() {
// Calculate the area of the flashlight
if (_gameId == GID_ZAK256) {
- x = _virtual_mouse_x;
- y = _virtual_mouse_y;
+ x = _virtualMouse.x;
+ y = _virtualMouse.y;
} else {
Actor *a = a = derefActorSafe(VAR(VAR_EGO), "drawFlashlight");
x = a->x;