Mercurial > might-and-magic-trilogy
comparison Player.cpp @ 31:f4450ff595fe
BLV loading (looks like) done.
author | Nomad |
---|---|
date | Fri, 19 Oct 2012 03:36:38 +0200 |
parents | 93bf1d5f6a6d |
children | 7071e4688db6 |
comparison
equal
deleted
inserted
replaced
30:4723e86bc51c | 31:f4450ff595fe |
---|---|
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; |