Mercurial > mm7
comparison UI/UIShops.cpp @ 2231:8673f3aedfb9
sub_4B1523 to sub_4B1523_showSpellbookInfo, changed input type, some vars renamed
author | Grumpy7 |
---|---|
date | Sat, 22 Feb 2014 19:44:49 +0100 |
parents | e9625ad08541 |
children | a9fa57fda3ae |
comparison
equal
deleted
inserted
replaced
2230:afca92154795 | 2231:8673f3aedfb9 |
---|---|
1787 if ( in_current_building_type <= BuildingType_16 && dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) | 1787 if ( in_current_building_type <= BuildingType_16 && dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) |
1788 { | 1788 { |
1789 pMouse->GetCursorPos(&cursor); | 1789 pMouse->GetCursorPos(&cursor); |
1790 v3 = pRenderer->pActiveZBuffer[cursor.x + pSRZBufferLineOffsets[cursor.y]] & 0xFFFF; | 1790 v3 = pRenderer->pActiveZBuffer[cursor.x + pSRZBufferLineOffsets[cursor.y]] & 0xFFFF; |
1791 if ( v3 ) | 1791 if ( v3 ) |
1792 sub_4B1523((int *)&pParty->pPlayers[1].uExpressionTimeLength + 9 * (v3 + 12 * (unsigned int)window_SpeakInHouse->ptr_1C)); | 1792 { |
1793 unsigned int guildId = (unsigned int)window_SpeakInHouse->ptr_1C - 139; | |
1794 sub_4B1523_showSpellbookInfo(pParty->SpellBooksInGuilds[guildId][v3].uItemID); | |
1795 } | |
1793 } | 1796 } |
1794 } | 1797 } |
1795 //----- (004B1D27) -------------------------------------------------------- | 1798 //----- (004B1D27) -------------------------------------------------------- |
1796 void GetHouseGoodbyeSpeech() | 1799 void GetHouseGoodbyeSpeech() |
1797 { | 1800 { |