[Scummvm-git-logs] scummvm master -> 8e573b45ec340a4138234536b7a98c85fa8979ee
dreammaster
noreply at scummvm.org
Fri Aug 14 06:27:24 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
8e573b45ec SHERLOCK: ROSETATTOO: stop scale-zone lookup after match
Commit: 8e573b45ec340a4138234536b7a98c85fa8979ee
https://github.com/scummvm/scummvm/commit/8e573b45ec340a4138234536b7a98c85fa8979ee
Author: Mingyang Li (tslmy at outlook.com)
Date: 2026-08-14T16:27:19+10:00
Commit Message:
SHERLOCK: ROSETATTOO: stop scale-zone lookup after match
Changed paths:
engines/sherlock/tattoo/tattoo_scene.cpp
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index cae196258fc..caf9edd2c96 100644
--- a/engines/sherlock/tattoo/tattoo_scene.cpp
+++ b/engines/sherlock/tattoo/tattoo_scene.cpp
@@ -595,7 +595,7 @@ int TattooScene::getScaleVal(const Point32 &pt) {
if (sz.contains(pos)) {
int n = (sz._bottomNumber - sz._topNumber) * 100 / sz.height() * (pos.y - sz.top) / 100 + sz._topNumber;
result = 25600L / n;
- // CHECKME: Shouldn't we set 'found' at this place?
+ found = true;
}
}
More information about the Scummvm-git-logs
mailing list