Mercurial > mm7
comparison UI/UICharacter.cpp @ 1485:58d43397b827
m
author | Ritor1 |
---|---|
date | Thu, 29 Aug 2013 18:10:53 +0600 |
parents | 62c7f07bc05a |
children | f62e6d06acac |
comparison
equal
deleted
inserted
replaced
1484:62c7f07bc05a | 1485:58d43397b827 |
---|---|
2468 v10 = (int)((char *)pPlayers[uActiveCharacter] + 36 * v52); | 2468 v10 = (int)((char *)pPlayers[uActiveCharacter] + 36 * v52); |
2469 *(char *)(v10 + 556) = 0; | 2469 *(char *)(v10 + 556) = 0; |
2470 pParty->pPickedItem.Reset(); | 2470 pParty->pPickedItem.Reset(); |
2471 pParty->SetHoldingItem(&pPlayers[uActiveCharacter]->pInventoryItemList[v52]);//(ItemGen *)(v10 + 532) | 2471 pParty->SetHoldingItem(&pPlayers[uActiveCharacter]->pInventoryItemList[v52]);//(ItemGen *)(v10 + 532) |
2472 _this.uBodyAnchor = 16; | 2472 _this.uBodyAnchor = 16; |
2473 memcpy((void *)(v10 + 532), &_this, 0x24u); | 2473 memcpy(&pPlayers[uActiveCharacter]->pInventoryItemList[v52], &_this, 0x24u); |
2474 pPlayers[uActiveCharacter]->pEquipment.uRings[6] = v52 + 1; | 2474 pPlayers[uActiveCharacter]->pEquipment.uRings[6] = v52 + 1; |
2475 } | 2475 } |
2476 return; | 2476 return; |
2477 | 2477 |
2478 case EQUIP_SHIELD://عوْ | 2478 case EQUIP_SHIELD://عوْ |