|
|
|
|
@ -1988,6 +1988,7 @@ bool UseInvItem(int cii)
|
|
|
|
|
if (player.InvList[i]._iMiscId == item->_iMiscId && player.InvList[i]._iSpell == item->_iSpell) { |
|
|
|
|
c = i; |
|
|
|
|
item = &player.InvList[c]; |
|
|
|
|
cii = c + INVITEM_INV_FIRST; |
|
|
|
|
speedlist = false; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
@ -2000,6 +2001,7 @@ bool UseInvItem(int cii)
|
|
|
|
|
|
|
|
|
|
if (!candidate.isEmpty() && candidate._iMiscId == item->_iMiscId && candidate._iSpell == item->_iSpell) { |
|
|
|
|
c = i; |
|
|
|
|
cii = c + INVITEM_BELT_FIRST; |
|
|
|
|
item = &candidate; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|