diff options
author | Einar Johan Trøan Sømåen | 2012-07-09 12:27:06 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-09 12:27:06 +0200 |
commit | 07cebdbf2b70e02b12d32880d23dbe293ab12358 (patch) | |
tree | d60a66f89c8bd1e1749010fa3aa41d2e5459f5ad /engines/wintermute/utils/utils.cpp | |
parent | 2959065e49390ab1da0b00a277a464d991ff10ad (diff) | |
download | scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.tar.gz scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.tar.bz2 scummvm-rg350-07cebdbf2b70e02b12d32880d23dbe293ab12358.zip |
WINTERMUTE: Change usage of Common::Rect to our own 32-bit variant.
Diffstat (limited to 'engines/wintermute/utils/utils.cpp')
-rw-r--r-- | engines/wintermute/utils/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/utils/utils.cpp b/engines/wintermute/utils/utils.cpp index ae64cd0686..9efc7b8935 100644 --- a/engines/wintermute/utils/utils.cpp +++ b/engines/wintermute/utils/utils.cpp @@ -45,7 +45,7 @@ static inline unsigned Sqr(int x) { //////////////////////////////////////////////////////////////////////////////////
-void CBUtils::clip(int *destX, int *destY, Common::Rect *srcRect, Common::Rect *destRect) {
+void CBUtils::clip(int *destX, int *destY, Rect32 *srcRect, Rect32 *destRect) {
// If it's partly off the right side of the screen
if (*destX + (srcRect->right - srcRect->left) > destRect->right)
srcRect->right -= *destX + (srcRect->right - srcRect->left) - destRect->right;
|