comparison Player.cpp @ 287:64770a1eb8e9

Paperdoll fix
author Ritor1
date Mon, 18 Feb 2013 00:37:49 +0600
parents e3b70ba42154
children 9a6052fecad4
comparison
equal deleted inserted replaced
286:0fbb07ec6241 287:64770a1eb8e9
3348 } 3348 }
3349 3349
3350 //----- (0048D62C) -------------------------------------------------------- 3350 //----- (0048D62C) --------------------------------------------------------
3351 int Player::GetEquippedItemEquipType(unsigned int uEquipSlot) 3351 int Player::GetEquippedItemEquipType(unsigned int uEquipSlot)
3352 { 3352 {
3353 return pItemsTable->pItems[*(int *)&this->spellbook.pDarkSpellbook.bIsSpellAvailable[36 3353 return pItemsTable->pItems[*(int *)&this->pInventoryItems[36 * *(&this->pEquipment.uOffHand
3354 * *(&this->pEquipment.uOffHand
3355 + uEquipSlot) 3354 + uEquipSlot)
3356 + 5]].uEquipType; 3355 + 5]].uEquipType;
3357 } 3356 }
3358 3357
3359 //----- (0048D651) -------------------------------------------------------- 3358 //----- (0048D651) --------------------------------------------------------
3360 int Player::GetEquippedItemSkillType(enum ITEM_EQUIP_TYPE uEquipSlot) 3359 int Player::GetEquippedItemSkillType(enum ITEM_EQUIP_TYPE uEquipSlot)
3361 { 3360 {
3362 return pItemsTable->pItems[*(int *)&this->spellbook.pDarkSpellbook.bIsSpellAvailable[36 3361 return pItemsTable->pItems[*(int *)&this->pInventoryItems[36 * *(&this->pEquipment.uOffHand
3363 * *(&this->pEquipment.uOffHand
3364 + uEquipSlot) 3362 + uEquipSlot)
3365 + 5]].uSkillType; 3363 + 5]].uSkillType;
3366 } 3364 }
3367 3365
3368 //----- (0048D676) -------------------------------------------------------- 3366 //----- (0048D676) --------------------------------------------------------