summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 6c15adce6..5ea99fe43 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3721,15 +3721,7 @@ int pc_additem(struct map_session_data *sd,struct item *item_data,int amount,e_l
w = data->weight*amount;
if(sd->weight + w > sd->max_weight)
return 2;
- if( itemdb_is_rune(item_data->nameid) ) {
- int rune = pc_search_inventory(sd,item_data->nameid);
- if( ( rune >= 0 && sd->status.inventory[rune].amount + amount > MAX_RUNE ) ||
- ( rune == -1 && amount > MAX_RUNE )
- ) {
- clif_msgtable(sd->fd,0x61b);
- return 1;
- }
- }
+
i = MAX_INVENTORY;
if( itemdb_isstackable2(data) && item_data->expire_time == 0 )