Mercurial > mm7
changeset 108:2baff1256844
fix Benefits window
author | Ritor1 |
---|---|
date | Fri, 08 Feb 2013 23:05:14 +0600 |
parents | 23b213c3f8e1 |
children | 01ab35c85832 |
files | mm7_1.cpp mm7_5.cpp |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mm7_1.cpp Fri Feb 08 18:34:09 2013 +0600 +++ b/mm7_1.cpp Fri Feb 08 23:05:14 2013 +0600 @@ -6733,10 +6733,7 @@ LODWORD(v18) = v17 << 16; HIDWORD(v18) = v17 >> 16; v15 = &_50B744_view_transformed_ys[i]; - dword_50B828[v79] = ((unsigned __int64)((_50B834_view_transformed_zs[i - 1] - _50B834_view_transformed_zs[i]) - * v18 - / v16) >> 16) - + _50B834_view_transformed_zs[i]; + dword_50B828[v79] = ((unsigned __int64)((_50B834_view_transformed_zs[i - 1] - _50B834_view_transformed_zs[i]) * v18 / v16) >> 16) + _50B834_view_transformed_zs[i]; thisb = (unsigned __int64)((_50B744_view_transformed_ys[i - 1] - _50B744_view_transformed_ys[i]) * v18 / v16) >> 16; } v19 = v79++;
--- a/mm7_5.cpp Fri Feb 08 18:34:09 2013 +0600 +++ b/mm7_5.cpp Fri Feb 08 23:05:14 2013 +0600 @@ -16059,11 +16059,11 @@ if ( a2 == 57 ) v7 = pNPCTopics[512].pText; else - v7 = (const CHAR *)*(&pNPCStats->field_13A5C + 5 * v5->uProfession); + v7 = (const CHAR *)pNPCStats->pProfessions[v5->uProfession].pBenefits; lpsz = v7; if ( !v7 ) { - lpsz = (LPCSTR)*(&pNPCStats->field_13A64 + 5 * v6->uProfession); + lpsz = (LPCSTR)pNPCStats->pProfessions[v5->uProfession].pJoinText; if ( !lpsz ) lpsz = ""; }