[Scummvm-git-logs] scummvm master -> 2b41d01b80eb1aa467d21bfea883027b12db58de
AndywinXp
noreply at scummvm.org
Thu Aug 8 19:46:56 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2b41d01b80 SCUMM: LOOM (EGA): Fix flashlight position
Commit: 2b41d01b80eb1aa467d21bfea883027b12db58de
https://github.com/scummvm/scummvm/commit/2b41d01b80eb1aa467d21bfea883027b12db58de
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-08-08T21:46:50+02:00
Commit Message:
SCUMM: LOOM (EGA): Fix flashlight position
Changed paths:
engines/scumm/gfx.cpp
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index d91f9019551..20e1117ba22 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1860,8 +1860,10 @@ void ScummEngine_v5::drawFlashlight() {
_flashlight.x = x - _flashlight.w / 2 - _screenStartStrip * 8;
_flashlight.y = y - _flashlight.h / 2;
- if (_game.id == GID_LOOM && _game.version == 3 && _game.platform == Common::kPlatformFMTowns)
+ if (_game.id == GID_LOOM && _game.version == 3 && _game.platform != Common::kPlatformFMTowns) {
+ _flashlight.x += 4;
_flashlight.y -= 12;
+ }
// Clip the flashlight at the borders
if (_flashlight.x < 0)
More information about the Scummvm-git-logs
mailing list