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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 7d8a44e2e..13065ea24 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3079,6 +3079,7 @@ int pc_useitem(struct map_session_data *sd,int n)
(sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) ||
sd->sc.data[SC_TRICKDEAD] ||
sd->sc.data[SC_BLADESTOP] ||
+ sd->sc.data[SC_HIDING] ||
(sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM)
))
return 0;
@@ -6325,9 +6326,8 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
return 0;
}
-// -- moonsoul (if player is berserk then cannot equip)
-//
- if(sd->sc.data[SC_BERSERK]){
+ if(sd->sc.data[SC_BERSERK] || sd->sc.data[SC_BLADESTOP])
+ {
clif_equipitemack(sd,n,0,0); // fail
return 0;
}