Skip to content

Commit

Permalink
[Fix] BondedPlayer = to incorrect index number
Browse files Browse the repository at this point in the history
In case BondItemReport is used in the future. This is the fix.

Index 2 is equal to oPlayer.
  • Loading branch information
tsShergill committed Oct 16, 2012
1 parent 7713e91 commit 40224b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kod/object/item.kod
Expand Up @@ -392,7 +392,7 @@ messages:
{ {
lData = Send(self,@GetAttributeData,#ItemAtt=IA_BONDED); lData = Send(self,@GetAttributeData,#ItemAtt=IA_BONDED);
Send(Send(SYS,@FindSpellByNum,#num=SID_BOND),@BondedItemReport, Send(Send(SYS,@FindSpellByNum,#num=SID_BOND),@BondedItemReport,
#BondedItem=self,#BondedPlayer=Nth(lData,3), #BondedItem=self,#BondedPlayer=Nth(lData,2),
#BondedItemOwner=what); #BondedItemOwner=what);
} }


Expand Down

0 comments on commit 40224b6

Please sign in to comment.