Skip to content
Browse files

[Fix] BondedPlayer = to incorrect index number

In case BondItemReport is used in the future. This is the fix.

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

0 comments on commit 40224b6

Please sign in to comment.
Something went wrong with that request. Please try again.