# HG changeset patch # User Ritor1 # Date 1360343114 -21600 # Node ID 2baff125684467c646330a25f50895dc2bca892a # Parent 23b213c3f8e1939d2f3a688e80a0b023a9204d03 fix Benefits window diff -r 23b213c3f8e1 -r 2baff1256844 mm7_1.cpp --- 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++; diff -r 23b213c3f8e1 -r 2baff1256844 mm7_5.cpp --- 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 = ""; }