Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[Fix] BondedPlayer = to incorrect index number #10

Merged
merged 1 commit into from

2 participants

@tsShergill

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

Index 2 is equal to oPlayer.

@tsShergill tsShergill [Fix] BondedPlayer = to incorrect index number
In case BondItemReport is used in the future. This is the fix.

Index 2 is equal to oPlayer.
40224b6
@Meridian59 Meridian59 merged commit 2795342 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 16, 2012
  1. @tsShergill

    [Fix] BondedPlayer = to incorrect index number

    tsShergill authored
    In case BondItemReport is used in the future. This is the fix.
    
    Index 2 is equal to oPlayer.
This page is out of date. Refresh to see the latest.
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);
}
Something went wrong with that request. Please try again.