aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
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;