diff options
author | Paul Gilbert | 2015-07-02 20:53:40 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-02 20:53:40 -0400 |
commit | 480003f48d0cb8fd0fa40cb8a3ebab8dc8597f8a (patch) | |
tree | 92a2738c7326524df90d5cdeaa243c5828a81e05 /engines/sherlock/objects.h | |
parent | d6bf970a588d403377e0e2ffec79ffae560c88f1 (diff) | |
download | scummvm-rg350-480003f48d0cb8fd0fa40cb8a3ebab8dc8597f8a.tar.gz scummvm-rg350-480003f48d0cb8fd0fa40cb8a3ebab8dc8597f8a.tar.bz2 scummvm-rg350-480003f48d0cb8fd0fa40cb8a3ebab8dc8597f8a.zip |
SHERLOCK: RT: Cleanup of Exit class and fix exiting scenes
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r-- | engines/sherlock/objects.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |