summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 05:15:16 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-11 05:15:16 +0000
commit054432d877578cc608617c4725934b302b001454 (patch)
treeb0beb366c699d38ba34075d16c75f970d5396380 /src/map/pc.c
parentcf214277634496ff22b20c8b2f44624a0248f211 (diff)
downloadhercules-054432d877578cc608617c4725934b302b001454.tar.gz
hercules-054432d877578cc608617c4725934b302b001454.tar.bz2
hercules-054432d877578cc608617c4725934b302b001454.tar.xz
hercules-054432d877578cc608617c4725934b302b001454.zip
Fixed bugreport:5535 while caster is in shadow formation he no longer can attack or use items.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15847 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c761f82c5..35ced409c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4006,6 +4006,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_HIDING] ||
+ sd->sc.data[SC__SHADOWFORM] ||
(sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM)
))
return 0;