aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/utils/utils.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-09 12:27:06 +0200
committerEinar Johan Trøan Sømåen2012-07-09 12:27:06 +0200
commit07cebdbf2b70e02b12d32880d23dbe293ab12358 (patch)
treed60a66f89c8bd1e1749010fa3aa41d2e5459f5ad /engines/wintermute/utils/utils.cpp
parent2959065e49390ab1da0b00a277a464d991ff10ad (diff)
downloadscummvm-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.cpp2
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;