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 2a9299658..7a863ad1b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6593,7 +6593,10 @@ int pc_checkitem(struct map_session_data *sd)
| (map[sd->bl.m].flag.pvp?1:0)
| (map_flag_gvg(sd->bl.m)?2:0);
if (flag && !pc_isAllowedCardOn(sd,it->slot,i,flag))
+ {
+ sd->status.inventory[i].equip=0;
calc_flag = 1;
+ }
}
}
}