diff options
author | Einar Johan Trøan Sømåen | 2012-07-23 03:42:27 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-23 03:42:27 +0200 |
commit | c7eda9abc80d1912148cae4292b94620c67a9c19 (patch) | |
tree | b416c3ee3d2f2274b578a9bd8c8f3b01523cacc9 /engines/wintermute/ui/ui_button.cpp | |
parent | aedb0aea505e764c4c7bab1f90520b380be4d688 (diff) | |
download | scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.tar.gz scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.tar.bz2 scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.zip |
WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.
Diffstat (limited to 'engines/wintermute/ui/ui_button.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_button.cpp b/engines/wintermute/ui/ui_button.cpp index 93e45fb1ff..a6adfca374 100644 --- a/engines/wintermute/ui/ui_button.cpp +++ b/engines/wintermute/ui/ui_button.cpp @@ -1032,7 +1032,7 @@ bool UIButton::persist(BasePersistenceManager *persistMgr) { persistMgr->transfer(TMEMBER(_press));
persistMgr->transfer(TMEMBER(_stayPressed));
- if (!persistMgr->_saving) {
+ if (!persistMgr->getIsSaving()) {
_oneTimePress = false;
_oneTimePressTime = 0;
}
|