aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-01 19:42:00 +0000
committerFilippos Karapetis2010-11-01 19:42:00 +0000
commit3d431a215f526560bc839a7829456a27beb8e8fb (patch)
treea048acfc8031d1601b75580340fb47d63b85f095 /engines/sci/graphics
parent548e67f413fbda3cb42880a759d2f47c56e77232 (diff)
downloadscummvm-rg350-3d431a215f526560bc839a7829456a27beb8e8fb.tar.gz
scummvm-rg350-3d431a215f526560bc839a7829456a27beb8e8fb.tar.bz2
scummvm-rg350-3d431a215f526560bc839a7829456a27beb8e8fb.zip
SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug with the recently added port save/restore code
svn-id: r54015
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/helpers.h b/engines/sci/graphics/helpers.h
index 3abf480f5c..f6cb214a2b 100644
--- a/engines/sci/graphics/helpers.h
+++ b/engines/sci/graphics/helpers.h
@@ -80,7 +80,7 @@ struct Window : public Port, public Common::Serializable {
bDrawn(false) {
}
- void syncRect(Common::Serializer &ser, Common::Rect targetRect) {
+ void syncRect(Common::Serializer &ser, Common::Rect &targetRect) {
ser.syncAsSint16LE(targetRect.top);
ser.syncAsSint16LE(targetRect.left);
ser.syncAsSint16LE(targetRect.bottom);