aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r--engines/sherlock/people.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h
index 170f93589b..8210a54aed 100644
--- a/engines/sherlock/people.h
+++ b/engines/sherlock/people.h
@@ -156,6 +156,10 @@ public:
*/
virtual bool loadWalk() = 0;
+ /**
+ * Restrict passed point to zone using Sherlock's positioning rules
+ */
+ virtual const Common::Point restrictToZone(int zoneId, const Common::Point &destPos) = 0;
};
} // End of namespace Sherlock