From 3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 11 Jul 2012 18:20:43 +0000 Subject: Fixed bugreport:6012, special thanks to EvilPuncker git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16400 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/map') 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 ) -- cgit v1.2.3-70-g09d2