diff options
author | Paul Gilbert | 2014-04-02 20:28:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-02 20:28:57 -0400 |
commit | 041773705be6dd1fb09d71e482f4974247cee61f (patch) | |
tree | b7d5a0682678b93fe09e2fb3bce22c4d5fb922de /engines/mads/user_interface.cpp | |
parent | 0c1001fbf4c37379ec685b036e63d6d59055997a (diff) | |
download | scummvm-rg350-041773705be6dd1fb09d71e482f4974247cee61f.tar.gz scummvm-rg350-041773705be6dd1fb09d71e482f4974247cee61f.tar.bz2 scummvm-rg350-041773705be6dd1fb09d71e482f4974247cee61f.zip |
MADS: Fix/clean up ending of ScreenObjects::check
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index d0139e2897..2cd1662077 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -264,7 +264,7 @@ void UserInterface::setup(int id) { scene._userInterface._uiSlots.clear(); scene._userInterface._uiSlots.fullRefresh(); - _vm->_game->_ticksExpiry = _vm->_events->getFrameCounter(); + _vm->_game->_screenObjects._baseTime = _vm->_events->getFrameCounter(); _highlightedCommandIndex = -1; _highlightedActionIndex = -1; _highlightedItemIndex = -1; @@ -590,7 +590,7 @@ void UserInterface::noInventoryAnim() { if (_invSpritesIndex >= 0) { scene._sprites.remove(_invSpritesIndex); - _vm->_game->_ticksExpiry = _vm->_events->getFrameCounter(); + _vm->_game->_screenObjects._baseTime = _vm->_events->getFrameCounter(); _invSpritesIndex = -1; } |