changeset 530:3d2292597422

ArmorShopDialog mouse highlight fixed
author zipi
date Sun, 03 Mar 2013 10:42:32 +0000
parents 6e4619fb5808
children 72a92f0ec766
files mm7_2.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_2.cpp	Sun Mar 03 13:38:12 2013 +0400
+++ b/mm7_2.cpp	Sun Mar 03 10:42:32 2013 +0000
@@ -2191,7 +2191,7 @@
 	GUIButton *v26; // esi@26
 	int v27; // eax@26
 	unsigned int v28; // ecx@26
-	Player *v29; // edx@26
+	int v29; // edx@26
 	unsigned __int16 v30; // ax@26
 	signed int v31; // esi@31
 	unsigned int v32; // eax@33
@@ -2360,12 +2360,12 @@
 					v25->uY = v146 + v23;
 					v27 = pFontArrus->CalcTextHeight(*v16, &v144, 0, 0);
 					v28 = v26->uY;
-					v29 = _this;
+					v29 = th;
 					v26->uHeight = v27;
 					v23 = v28 + v27 - 1;
 					v26->uW = v23;
 					v30 = v147;
-					if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v29 )
+					if ( pDialogueWindow->pCurrentPosActiveItem != v29 )
 						v30 = v148;
 					v144.DrawTitleText(pFontArrus, 0, v28, v30, *v16, 3u);
 					v20 = pDialogueWindow;