Mercurial > might-and-magic-trilogy
comparison Player.cpp @ 42:7071e4688db6
Слияние
author | Ritor1 |
---|---|
date | Fri, 19 Oct 2012 23:29:04 +0600 |
parents | fd64b06a39a8 f4450ff595fe |
children | 916bec351934 bcc051713d20 |
comparison
equal
deleted
inserted
replaced
41:fd64b06a39a8 | 42:7071e4688db6 |
---|---|
1545 } | 1545 } |
1546 if ( v2 != -1 ) | 1546 if ( v2 != -1 ) |
1547 { | 1547 { |
1548 v4 = v2 + 1; | 1548 v4 = v2 + 1; |
1549 v5 = (char *)this + 36 * v2; | 1549 v5 = (char *)this + 36 * v2; |
1550 v6 = &byte_4E8398[pItemsTable->pItems[uItemID].uEquipType]; | 1550 v6 = &byte_4E8394[pItemsTable->pItems[uItemID].uEquipType + 4]; |
1551 *(&this->pEquipment.uOffHand + (unsigned __int8)*v6) = v4; | 1551 *(&this->pEquipment.uOffHand + (unsigned __int8)*v6) = v4; |
1552 *((int *)v5 + 133) = uItemID; | 1552 *((int *)v5 + 133) = uItemID; |
1553 v5[556] = *v6 + 1; | 1553 v5[556] = *v6 + 1; |
1554 } | 1554 } |
1555 return 0; | 1555 return 0; |