# HG changeset patch # User Ritor1 # Date 1358778105 -21600 # Node ID 7082a3f95e7ca6183a5d996e7c2e4ff264262edc # Parent a3e1017bfc214b98343df16eabd5b6bca04ba433 21.01.13 diff -r a3e1017bfc21 -r 7082a3f95e7c mm7_5.cpp --- a/mm7_5.cpp Mon Jan 21 01:35:04 2013 +0600 +++ b/mm7_5.cpp Mon Jan 21 20:21:45 2013 +0600 @@ -17834,7 +17834,7 @@ } v12 = 0; a5 = pGUIWindow_CurrentMenu->uNumControls; - v18 = &pParty->pPlayers[0].pActiveSkills[0]; //&stru_AA1058[3].pSounds[6972 * v0 + 40552]; + v18 = &pParty->pPlayers[v0-1].pActiveSkills[0]; //&stru_AA1058[3].pSounds[6972 * v0 + 40552]; v2 = pFontLucida; v14 = (unsigned int *)dword_4E2A2C; v3 = 2 * LOBYTE(pFontLucida->uFontHeight) + 13; diff -r a3e1017bfc21 -r 7082a3f95e7c mm7_data.cpp --- a/mm7_data.cpp Mon Jan 21 01:35:04 2013 +0600 +++ b/mm7_data.cpp Mon Jan 21 20:21:45 2013 +0600 @@ -478,10 +478,10 @@ __int16 RightClickPortraitXmin[4]; __int16 RightClickPortraitXmax[4]; void *off_4E2A12; // weak -int dword_4E2A18[5]; -int dword_4E2A2C[9]; -int dword_4E2A50[12]; -int _4E2A80_skills[9]; +int dword_4E2A18[5]={ 9, 10, 11, 8, 30}; +int dword_4E2A2C[9]={3, 5, 2, 6, 4, 0, 1, 31, 7}; +int dword_4E2A50[12]={35, 33, 24, 21, 32, 36, 29, 25, 22, 26, 23, 34}; +int _4E2A80_skills[9]={12, 13, 14, 15, 16, 17, 18, 19, 20}; unsigned __int8 pAwardsTextColors[20]; unsigned int pHealthBarPos[4] = {22, 137, 251, 366}; unsigned int pManaBarPos[4] = {102, 217, 331, 447};