Mercurial > mm7
comparison UI/UICharacter.cpp @ 1716:bc0fa6153fe1
fixing itemequiptype instead of playerskilltype
author | Grumpy7 |
---|---|
date | Wed, 25 Sep 2013 08:13:09 +0200 |
parents | 8251e59fd7c1 |
children | baa4eda7f924 |
comparison
equal
deleted
inserted
replaced
1715:8da2af197e11 | 1716:bc0fa6153fe1 |
---|---|
2346 v51 = v1; | 2346 v51 = v1; |
2347 v3 = pParty->pPickedItem.uItemID; | 2347 v3 = pParty->pPickedItem.uItemID; |
2348 if ( pParty->pPickedItem.uItemID ) | 2348 if ( pParty->pPickedItem.uItemID ) |
2349 { | 2349 { |
2350 pEquipType = pParty->pPickedItem.GetItemEquipType(); | 2350 pEquipType = pParty->pPickedItem.GetItemEquipType(); |
2351 pSkillType = pParty->pPickedItem.GetItemEquipType(); | 2351 pSkillType = pParty->pPickedItem.GetPlayerSkillType(); |
2352 if ( pSkillType == 4 ) | 2352 if ( pSkillType == 4 ) |
2353 { | 2353 { |
2354 if ( v2 ) | 2354 if ( v2 ) |
2355 { | 2355 { |
2356 LOBYTE(v5) = pPlayers[uActiveCharacter]->GetActualSkillLevel(PLAYER_SKILL_SPEAR); | 2356 LOBYTE(v5) = pPlayers[uActiveCharacter]->GetActualSkillLevel(PLAYER_SKILL_SPEAR); |