Mercurial > mm7
diff mm7_5.cpp @ 111:bf7ea4c330b3
Paperdoll fixed
author | Ritor1 |
---|---|
date | Sun, 10 Feb 2013 00:17:23 +0600 |
parents | aa9b34eb3da4 |
children | b5c3f448cd74 30e731fc0f7a |
line wrap: on
line diff
--- a/mm7_5.cpp Sat Feb 09 17:39:50 2013 +0600 +++ b/mm7_5.cpp Sun Feb 10 00:17:23 2013 +0600 @@ -1777,21 +1777,21 @@ } sub_41426F(); continue; - case UIMSG_BC://Right and Left button for NPCPanel + case UIMSG_ScrollNPCPanel://Right and Left button for NPCPanel if ( uMessageParam ) { - GUIWindow::Create(0x272u, 0xB3u, 0, 0, (enum WindowType)90, (int)pBtn_NPCRight, 0); + GUIWindow::Create(626, 179, 0, 0, (enum WindowType)90, (int)pBtn_NPCRight, 0); v37 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + (unsigned __int8)pParty->field_70A - 2; if ( (unsigned __int8)pParty->field_709 < v37 ) { - ++pParty->field_709; + ++pParty->field_709;//??? maybe number of the first cell??? if ( (unsigned __int8)pParty->field_709 >= v37 ) pParty->field_709 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + pParty->field_70A - 2; } } else { - GUIWindow::Create(0x1D5u, 0xB3u, 0, 0, (enum WindowType)90, (int)pBtn_NPCLeft, 0); + GUIWindow::Create(469, 179, 0, 0, (enum WindowType)90, (int)pBtn_NPCLeft, 0); if ( pParty->field_709 ) { --pParty->field_709;