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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 5d7d2ffbd..c0d8d0aa1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2654,6 +2654,9 @@ int pc_takeitem(struct map_session_data *sd,struct flooritem_data *fitem)
clif_takeitem(&sd->bl,&fitem->bl);
map_clearflooritem(fitem->bl.id);
+ if(itemdb_autoequip(fitem->item_data.nameid) != 0){
+ pc_equipitem(sd, fitem->item_data.nameid, fitem->item_data.equip);
+ }
return 0;
}