aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/helpers.h')
-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);