comparison UI/UICharacter.cpp @ 1518:091c5eb46a0e

Fix size of byte_5111F6, it must include unk_511206 (as byte).
author yoctozepto
date Wed, 04 Sep 2013 15:27:01 +0200
parents a109bb203e28
children c4ab816fcc5e
comparison
equal deleted inserted replaced
1517:c3da3c2985b8 1518:091c5eb46a0e
1762 if ( Player_has_item(i + 66, &pParty->pPlayers[j], 0) ) 1762 if ( Player_has_item(i + 66, &pParty->pPlayers[j], 0) )
1763 party_has_equipment[i] = 1; 1763 party_has_equipment[i] = 1;
1764 } 1764 }
1765 } 1765 }
1766 } 1766 }
1767 memset(byte_5111F6.data(), 0, 16); 1767 memset(byte_5111F6.data(), 0, sizeof(byte_5111F6));
1768 for (uint i = 0; i < 4; ++i) 1768 for (uint i = 0; i < 4; ++i)
1769 { 1769 {
1770 auto player = pParty->pPlayers + i; 1770 auto player = pParty->pPlayers + i;
1771 1771
1772 if (Player_has_item(ITEM_ARTICACT_GOVERNONS_ARMOR, player, 1)) byte_5111F6[0] = 1; 1772 if (Player_has_item(ITEM_ARTICACT_GOVERNONS_ARMOR, player, 1)) byte_5111F6[0] = 1;