浏览代码

Fixed bugreport:6012, special thanks to EvilPuncker

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16400 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 年之前
父节点
当前提交
fae73118db
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 1 9
      src/map/pc.c

+ 1 - 9
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 )