comparison mm7_4.cpp @ 874:231523a39203

Buy books(first)
author Ritor1
date Mon, 01 Apr 2013 17:37:32 +0600
parents f4394e320312
children b7246c149957
comparison
equal deleted inserted replaced
873:aa0172fd88c6 874:231523a39203
6324 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) 6324 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD)
6325 // v7 = (ItemGen *)&pParty->field_C59C[v6 + 715]; 6325 // v7 = (ItemGen *)&pParty->field_C59C[v6 + 715];
6326 v7 =&pParty->SpecialItemsInShops[(unsigned int)window_SpeakInHouse->ptr_1C][v5]; 6326 v7 =&pParty->SpecialItemsInShops[(unsigned int)window_SpeakInHouse->ptr_1C][v5];
6327 goto LABEL_15; 6327 goto LABEL_15;
6328 } 6328 }
6329 if ( in_current_building_type <= BildingType_16 && dialog_menu_id == HOUSE_DIALOGUE_GULD_BUY_BOOKS ) 6329 if ( in_current_building_type <= BildingType_16 && dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS )
6330 { 6330 {
6331 v1 = pMouse->GetCursorPos(&a2); 6331 v1 = pMouse->GetCursorPos(&a2);
6332 v2 = v1->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v16)->y]; 6332 v2 = v1->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v16)->y];
6333 v3 = pRenderer->pActiveZBuffer[v2] & 0xFFFF; 6333 v3 = pRenderer->pActiveZBuffer[v2] & 0xFFFF;
6334 v18 = pRenderer->pActiveZBuffer[v2] & 0xFFFF; 6334 v18 = pRenderer->pActiveZBuffer[v2] & 0xFFFF;