aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 70fa66f8ae..3be2a74c8a 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -661,9 +661,9 @@ void Scumm::drawFlashlight() {
return;
// Calculate the area of the flashlight
- if (_gameId == GID_ZAK256) {
- x = _virtualMouse.x;
- y = _virtualMouse.y;
+ if (_gameId == GID_ZAK256 || _gameId == GID_ZAK) {
+ x = _mouse.x + virtscr[0].xstart;
+ y = _mouse.y - virtscr[0].topline;
} else {
Actor *a = derefActor(VAR(VAR_EGO), "drawFlashlight");
x = a->x;