diff options
author | Einar Johan Trøan Sømåen | 2013-10-28 19:19:12 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-10-28 19:19:12 +0100 |
commit | 6b4adab654461646a3873b7ad39a283feeb29037 (patch) | |
tree | b0e0661a1ff1d1f89d6b18c08351cad066dc9510 /engines/wintermute/ui/ui_window.cpp | |
parent | ba17ed94903d183b7f1810179db01ffb40bd530d (diff) | |
download | scummvm-rg350-6b4adab654461646a3873b7ad39a283feeb29037.tar.gz scummvm-rg350-6b4adab654461646a3873b7ad39a283feeb29037.tar.bz2 scummvm-rg350-6b4adab654461646a3873b7ad39a283feeb29037.zip |
WINTERMUTE: Transfer booleans explicitly when saving/loading.
Diffstat (limited to 'engines/wintermute/ui/ui_window.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_window.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/wintermute/ui/ui_window.cpp b/engines/wintermute/ui/ui_window.cpp index 9051ce8217..7883b659eb 100644 --- a/engines/wintermute/ui/ui_window.cpp +++ b/engines/wintermute/ui/ui_window.cpp @@ -1258,24 +1258,24 @@ bool UIWindow::persist(BasePersistenceManager *persistMgr) { UIObject::persist(persistMgr); persistMgr->transferPtr(TMEMBER_PTR(_backInactive)); - persistMgr->transfer(TMEMBER(_clipContents)); + persistMgr->transferBool(TMEMBER(_clipContents)); persistMgr->transfer(TMEMBER(_dragFrom)); - persistMgr->transfer(TMEMBER(_dragging)); + persistMgr->transferBool(TMEMBER(_dragging)); persistMgr->transfer(TMEMBER(_dragRect)); - persistMgr->transfer(TMEMBER(_fadeBackground)); + persistMgr->transferBool(TMEMBER(_fadeBackground)); persistMgr->transfer(TMEMBER(_fadeColor)); persistMgr->transferPtr(TMEMBER_PTR(_fontInactive)); persistMgr->transferPtr(TMEMBER_PTR(_imageInactive)); - persistMgr->transfer(TMEMBER(_inGame)); - persistMgr->transfer(TMEMBER(_isMenu)); + persistMgr->transferBool(TMEMBER(_inGame)); + persistMgr->transferBool(TMEMBER(_isMenu)); persistMgr->transfer(TMEMBER_INT(_mode)); persistMgr->transferPtr(TMEMBER_PTR(_shieldButton)); persistMgr->transferPtr(TMEMBER_PTR(_shieldWindow)); persistMgr->transfer(TMEMBER_INT(_titleAlign)); persistMgr->transfer(TMEMBER(_titleRect)); - persistMgr->transfer(TMEMBER(_transparent)); + persistMgr->transferBool(TMEMBER(_transparent)); persistMgr->transferPtr(TMEMBER_PTR(_viewport)); - persistMgr->transfer(TMEMBER(_pauseMusic)); + persistMgr->transferBool(TMEMBER(_pauseMusic)); _widgets.persist(persistMgr); |