diff options
author | Filippos Karapetis | 2010-11-01 19:42:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-01 19:42:00 +0000 |
commit | 3d431a215f526560bc839a7829456a27beb8e8fb (patch) | |
tree | a048acfc8031d1601b75580340fb47d63b85f095 /engines/sci/graphics | |
parent | 548e67f413fbda3cb42880a759d2f47c56e77232 (diff) | |
download | scummvm-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.h | 2 |
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); |