HOPKINS: Fix regression in #fddc6497bf316e6e44b258b1c7fd9adc0749bd72 : "Menu: after the fading, a button is moved by 1 or 2 pixels"

This commit is contained in:
Strangerke 2013-02-06 08:18:19 +01:00
parent 205fdaaa0c
commit 880f00150c

View File

@ -118,8 +118,11 @@ int MenuManager::menu() {
if (menuIndex > MENU_NONE)
frameIndex[menuIndex - 1] = 1;
for (int i = 0; i < 5; i++)
_vm->_graphicsManager.fastDisplay(spriteData, 230, 259 + 32 * i, frameIndex[i] + 2 * i);
_vm->_graphicsManager.fastDisplay(spriteData, 230, 259, frameIndex[0]);
_vm->_graphicsManager.fastDisplay(spriteData, 230, 291, frameIndex[1] + 2);
_vm->_graphicsManager.fastDisplay(spriteData, 230, 322, frameIndex[2] + 4);
_vm->_graphicsManager.fastDisplay(spriteData, 230, 354, frameIndex[3] + 6);
_vm->_graphicsManager.fastDisplay(spriteData, 230, 386, frameIndex[4] + 8);
_vm->_eventsManager.VBL();
if (_vm->_eventsManager.getMouseButton() == 1 && menuIndex != MENU_NONE)