Mercurial > mm7
comparison mm7_5.cpp @ 111:bf7ea4c330b3
Paperdoll fixed
author | Ritor1 |
---|---|
date | Sun, 10 Feb 2013 00:17:23 +0600 |
parents | aa9b34eb3da4 |
children | b5c3f448cd74 30e731fc0f7a |
comparison
equal
deleted
inserted
replaced
110:aa9b34eb3da4 | 111:bf7ea4c330b3 |
---|---|
1775 back_to_game(); | 1775 back_to_game(); |
1776 continue; | 1776 continue; |
1777 } | 1777 } |
1778 sub_41426F(); | 1778 sub_41426F(); |
1779 continue; | 1779 continue; |
1780 case UIMSG_BC://Right and Left button for NPCPanel | 1780 case UIMSG_ScrollNPCPanel://Right and Left button for NPCPanel |
1781 if ( uMessageParam ) | 1781 if ( uMessageParam ) |
1782 { | 1782 { |
1783 GUIWindow::Create(0x272u, 0xB3u, 0, 0, (enum WindowType)90, (int)pBtn_NPCRight, 0); | 1783 GUIWindow::Create(626, 179, 0, 0, (enum WindowType)90, (int)pBtn_NPCRight, 0); |
1784 v37 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + (unsigned __int8)pParty->field_70A - 2; | 1784 v37 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + (unsigned __int8)pParty->field_70A - 2; |
1785 if ( (unsigned __int8)pParty->field_709 < v37 ) | 1785 if ( (unsigned __int8)pParty->field_709 < v37 ) |
1786 { | 1786 { |
1787 ++pParty->field_709; | 1787 ++pParty->field_709;//??? maybe number of the first cell??? |
1788 if ( (unsigned __int8)pParty->field_709 >= v37 ) | 1788 if ( (unsigned __int8)pParty->field_709 >= v37 ) |
1789 pParty->field_709 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + pParty->field_70A - 2; | 1789 pParty->field_709 = (pParty->pHirelings[0].pName != 0) + (pParty->pHirelings[1].pName != 0) + pParty->field_70A - 2; |
1790 } | 1790 } |
1791 } | 1791 } |
1792 else | 1792 else |
1793 { | 1793 { |
1794 GUIWindow::Create(0x1D5u, 0xB3u, 0, 0, (enum WindowType)90, (int)pBtn_NPCLeft, 0); | 1794 GUIWindow::Create(469, 179, 0, 0, (enum WindowType)90, (int)pBtn_NPCLeft, 0); |
1795 if ( pParty->field_709 ) | 1795 if ( pParty->field_709 ) |
1796 { | 1796 { |
1797 --pParty->field_709; | 1797 --pParty->field_709; |
1798 if ( pParty->field_709 < 1 ) | 1798 if ( pParty->field_709 < 1 ) |
1799 pParty->field_709 = 0; | 1799 pParty->field_709 = 0; |