diff options
author | Einar Johan Trøan Sømåen | 2013-10-29 01:40:43 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-10-29 02:59:52 +0100 |
commit | 95d2ed1a9b97958df609fd2a521ed125db8c2f03 (patch) | |
tree | 89b25033d88843fe489485c132c30861cd716bf8 /engines/wintermute/ui/ui_window.cpp | |
parent | dc4e3150f31be22e74315d14ca018ecbdc71d62a (diff) | |
download | scummvm-rg350-95d2ed1a9b97958df609fd2a521ed125db8c2f03.tar.gz scummvm-rg350-95d2ed1a9b97958df609fd2a521ed125db8c2f03.tar.bz2 scummvm-rg350-95d2ed1a9b97958df609fd2a521ed125db8c2f03.zip |
WINTERMUTE: Transfer Rect32s explicitly when saving/loading.
Diffstat (limited to 'engines/wintermute/ui/ui_window.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ui/ui_window.cpp b/engines/wintermute/ui/ui_window.cpp index 7883b659eb..fab47342df 100644 --- a/engines/wintermute/ui/ui_window.cpp +++ b/engines/wintermute/ui/ui_window.cpp @@ -1261,7 +1261,7 @@ bool UIWindow::persist(BasePersistenceManager *persistMgr) { persistMgr->transferBool(TMEMBER(_clipContents)); persistMgr->transfer(TMEMBER(_dragFrom)); persistMgr->transferBool(TMEMBER(_dragging)); - persistMgr->transfer(TMEMBER(_dragRect)); + persistMgr->transferRect32(TMEMBER(_dragRect)); persistMgr->transferBool(TMEMBER(_fadeBackground)); persistMgr->transfer(TMEMBER(_fadeColor)); persistMgr->transferPtr(TMEMBER_PTR(_fontInactive)); @@ -1272,7 +1272,7 @@ bool UIWindow::persist(BasePersistenceManager *persistMgr) { persistMgr->transferPtr(TMEMBER_PTR(_shieldButton)); persistMgr->transferPtr(TMEMBER_PTR(_shieldWindow)); persistMgr->transfer(TMEMBER_INT(_titleAlign)); - persistMgr->transfer(TMEMBER(_titleRect)); + persistMgr->transferRect32(TMEMBER(_titleRect)); persistMgr->transferBool(TMEMBER(_transparent)); persistMgr->transferPtr(TMEMBER_PTR(_viewport)); persistMgr->transferBool(TMEMBER(_pauseMusic)); |