Mercurial > mm7
diff 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 |
line wrap: on
line diff
--- a/UI/UIShops.cpp Sat Feb 22 18:25:53 2014 +0100 +++ b/UI/UIShops.cpp Sat Feb 22 19:44:49 2014 +0100 @@ -1789,7 +1789,10 @@ pMouse->GetCursorPos(&cursor); v3 = pRenderer->pActiveZBuffer[cursor.x + pSRZBufferLineOffsets[cursor.y]] & 0xFFFF; if ( v3 ) - sub_4B1523((int *)&pParty->pPlayers[1].uExpressionTimeLength + 9 * (v3 + 12 * (unsigned int)window_SpeakInHouse->ptr_1C)); + { + unsigned int guildId = (unsigned int)window_SpeakInHouse->ptr_1C - 139; + sub_4B1523_showSpellbookInfo(pParty->SpellBooksInGuilds[guildId][v3].uItemID); + } } } //----- (004B1D27) --------------------------------------------------------