comparison UI/UIShops.cpp @ 1466:ec79ee6d44ce

Paperdoll shoulder fix
author Ritor1
date Mon, 26 Aug 2013 15:05:15 +0600
parents 934074e7fcc1
children 7ef4b64f6329
comparison
equal deleted inserted replaced
1465:090ff42290c4 1466:ec79ee6d44ce
2065 { 2065 {
2066 dialog_window.DrawCurrentTime( pParty->field_3C.field_50[(unsigned int)window_SpeakInHouse->ptr_1C] - pParty->uTimePlayed); 2066 dialog_window.DrawCurrentTime( pParty->field_3C.field_50[(unsigned int)window_SpeakInHouse->ptr_1C] - pParty->uTimePlayed);
2067 return; 2067 return;
2068 } 2068 }
2069 v70 = pMouse->GetCursorPos(&v102); 2069 v70 = pMouse->GetCursorPos(&v102);
2070 result = v70->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v100)->y]; 2070 result = v70->x + pSRZBufferLineOffsets[v70->y];
2071 if ( pRenderer->pActiveZBuffer[result] & 0xFFFF ) 2071 if ( pRenderer->pActiveZBuffer[result] & 0xFFFF )
2072 { 2072 {
2073 v71 = (pRenderer->pActiveZBuffer[result] & 0xFFFF) - 1; 2073 v71 = (pRenderer->pActiveZBuffer[result] & 0xFFFF) - 1;
2074 item = &pParty->StandartItemsInShops[(int)window_SpeakInHouse->ptr_1C][v71]; 2074 item = &pParty->StandartItemsInShops[(int)window_SpeakInHouse->ptr_1C][v71];
2075 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) 2075 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD)