Mercurial > mm7
diff UI/UIGuilds.cpp @ 1843:2e6d3cd052e0
some char* cast removal + adding const_casts where appropriate
author | Grumpy7 |
---|---|
date | Sun, 13 Oct 2013 07:18:03 +0200 |
parents | 24e756a50073 |
children | 05b433b8cb37 |
line wrap: on
line diff
--- a/UI/UIGuilds.cpp Sun Oct 13 06:32:06 2013 +0200 +++ b/UI/UIGuilds.cpp Sun Oct 13 07:18:03 2013 +0200 @@ -233,7 +233,7 @@ { v15 = (ItemGen *)(&pParty->pPlayers[1].uExpressionTimeLength + 18 * (v13 + 12 * (int)window_SpeakInHouse->ptr_1C)); v17 = pPlayers[uActiveCharacter]->SelectPhrasesTransaction( (ItemGen *)&pParty->pPlayers[1].uExpressionTimeLength + v13 + 12 * (int)window_SpeakInHouse->ptr_1C, BuildingType_MagicShop, (int)window_SpeakInHouse->ptr_1C, 2); - v18 = BuildDialogueString((char *)pMerchantsBuyPhrases[v17], uActiveCharacter - 1, v15, (char *)window_SpeakInHouse->ptr_1C, 2, 0); + v18 = BuildDialogueString(pMerchantsBuyPhrases[v17], uActiveCharacter - 1, v15, (char *)window_SpeakInHouse->ptr_1C, 2, 0); pTextHeight = pFontArrus->CalcTextHeight(v18, &working_window, 0, 0); working_window.DrawTitleText(pFontArrus, 0, (174 - pTextHeight) / 2 + 138, pColorWhite, v18, 3); return;