summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-11 18:20:43 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-11 18:20:43 +0000
commit3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf (patch)
tree3c5f19ab1401456252f9756a90d61f8b0ad6a79d /src/map
parentaa2704d3cc98ef565a24f3e59d6f8ee3bffcbfe7 (diff)
downloadhercules-3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf.tar.gz
hercules-3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf.tar.bz2
hercules-3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf.tar.xz
hercules-3e1b5f2d7506760e6a550b5a21fbfea2c6a1f1bf.zip
Fixed bugreport:6012, special thanks to EvilPuncker
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16400 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 )