From 480003f48d0cb8fd0fa40cb8a3ebab8dc8597f8a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 2 Jul 2015 20:53:40 -0400 Subject: SHERLOCK: RT: Cleanup of Exit class and fix exiting scenes --- engines/sherlock/objects.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sherlock/objects.h') diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index 60b5b3345e..7b42445f48 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -122,6 +122,11 @@ public: int _facing; PositionFacing() : Point32(), _facing(0) {} + PositionFacing(int xp, int yp, int theFacing) : Point32(xp, yp), _facing(theFacing) {} + PositionFacing &operator=(const Point32 &pt) { + x = pt.x; y = pt.y; + return *this; + } }; struct WalkSequence { -- cgit v1.2.3