summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-09-23 12:06:25 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-09-23 12:06:25 +0000
commita5601f3c962cefac00c7baa23412fa1006c2f7ef (patch)
tree247b8c2e124aeaa6ddbe27b1deb8fd945c553c7b /src/map/status.c
parent37a4268a102ac66bbc8d283b3ae57d952bf26425 (diff)
downloadhercules-a5601f3c962cefac00c7baa23412fa1006c2f7ef.tar.gz
hercules-a5601f3c962cefac00c7baa23412fa1006c2f7ef.tar.bz2
hercules-a5601f3c962cefac00c7baa23412fa1006c2f7ef.tar.xz
hercules-a5601f3c962cefac00c7baa23412fa1006c2f7ef.zip
Added supports for Soul Bound.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14073 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1d77afacd..99c699c44 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1949,7 +1949,7 @@ int status_calc_pc_(struct map_session_data* sd, bool first)
//Card script execution.
if(itemdb_isspecial(sd->status.inventory[index].card[0]))
continue;
- for(j=0;j<sd->inventory_data[index]->slot;j++){
+ for(j=0;j<MAX_SLOTS;j++){ // Uses MAX_SLOTS to support Soul Bound system [Inkfish]
current_equip_card_id= c= sd->status.inventory[index].card[j];
if(!c)
continue;