aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2013-07-16 22:44:29 +0200
committerTobia Tesan2013-08-01 02:15:01 +0200
commit86c8d238a4c14dd26b251a1662473b38cfaa1cdc (patch)
tree52a1442c18829407283f419c2799201b65726519 /engines
parent381df0c64ac88a704f931b0011d7f3f730c5caba (diff)
downloadscummvm-rg350-86c8d238a4c14dd26b251a1662473b38cfaa1cdc.tar.gz
scummvm-rg350-86c8d238a4c14dd26b251a1662473b38cfaa1cdc.tar.bz2
scummvm-rg350-86c8d238a4c14dd26b251a1662473b38cfaa1cdc.zip
WINTERMUTE: const Common::Rect rect& in rect32.h
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/math/rect32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/math/rect32.h b/engines/wintermute/math/rect32.h
index 821df1880e..79d6e80017 100644
--- a/engines/wintermute/math/rect32.h
+++ b/engines/wintermute/math/rect32.h
@@ -64,7 +64,7 @@ struct Rect32 {
Rect32() : top(0), left(0), bottom(0), right(0) {}
Rect32(int32 w, int32 h) : top(0), left(0), bottom(h), right(w) {}
- Rect32(Common::Rect rect) : top(rect.top), left(rect.left), bottom(rect.bottom), right(rect.right) {}
+ Rect32(const Common::Rect &rect) : top(rect.top), left(rect.left), bottom(rect.bottom), right(rect.right) {}
Rect32(int32 x1, int32 y1, int32 x2, int32 y2) : top(y1), left(x1), bottom(y2), right(x2) {
assert(isValidRect());
}