# HG changeset patch # User zipi # Date 1362307352 0 # Node ID 3d22925974224abaae9f29d9c026e7f5b44a88d0 # Parent 6e4619fb5808956e828ad1ad873f8ae9352b8ac6 ArmorShopDialog mouse highlight fixed diff -r 6e4619fb5808 -r 3d2292597422 mm7_2.cpp --- 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;