changeset 56:7082a3f95e7c

21.01.13
author Ritor1
date Mon, 21 Jan 2013 20:21:45 +0600
parents a3e1017bfc21
children 8af333180755
files mm7_5.cpp mm7_data.cpp
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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};