diff options
author | Paul Gilbert | 2015-03-22 18:24:13 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-22 18:24:13 -0400 |
commit | 989d26897436103ff475b9987645b06265076bda (patch) | |
tree | 771388c464822186d59c86c72234a345697a04a8 /engines/sherlock/objects.h | |
parent | b3130796540a727822d429ab122258e8be3db463 (diff) | |
download | scummvm-rg350-989d26897436103ff475b9987645b06265076bda.tar.gz scummvm-rg350-989d26897436103ff475b9987645b06265076bda.tar.bz2 scummvm-rg350-989d26897436103ff475b9987645b06265076bda.zip |
SHERLOCK: Fix placement of Sherlock
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r-- | engines/sherlock/objects.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index 9e43c087b8..8099c6b74f 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -117,6 +117,9 @@ public: void adjustSprite(); void checkSprite(); + + int frameWidth() const { return _imageFrame ? _imageFrame->_frame.w : 0; } + int frameHeight() const { return _imageFrame ? _imageFrame->_frame.h : 0; } }; struct ActionType { |