diff options
Diffstat (limited to 'engines/sherlock/scene.cpp')
| -rw-r--r-- | engines/sherlock/scene.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index 22a0e3620e..efb2b90b4c 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -1205,6 +1205,10 @@ int Scene::findBgShape(const Common::Rect &r) { return -1; } +int Scene::findBgShape(const Common::Point &pt) { + return findBgShape(Common::Rect(pt.x, pt.y, pt.x + 1, pt.y + 1)); +} + int Scene::checkForZones(const Common::Point &pt, int zoneType) { int matches = 0; |
