MADS: Fix/clean up ending of ScreenObjects::check
This commit is contained in:
parent
0c1001fbf4
commit
041773705b
7 changed files with 18 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue