diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
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; |