summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 14:04:29 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 14:04:29 +0000
commit7be9e2346666be2b35733992ce95fa8b592f9e5a (patch)
tree4049425df5e1f99408795f374cb3a836f213daa2 /src
parent4c8e69bb2f2c37a9dcea897248322b224f926ef2 (diff)
downloadhercules-7be9e2346666be2b35733992ce95fa8b592f9e5a.tar.gz
hercules-7be9e2346666be2b35733992ce95fa8b592f9e5a.tar.bz2
hercules-7be9e2346666be2b35733992ce95fa8b592f9e5a.tar.xz
hercules-7be9e2346666be2b35733992ce95fa8b592f9e5a.zip
Fixed Strip Helm from not allowing you to put on a different middle/ lower headgear. bugreport:364
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15228 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 3bf509685..a1ec0fed1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -743,7 +743,7 @@ int pc_isequip(struct map_session_data *sd,int n)
return 0;
if(item->equip & EQP_ARMOR && sd->sc.data[SC_STRIPARMOR])
return 0;
- if(item->equip & EQP_HELM && sd->sc.data[SC_STRIPHELM])
+ if(item->equip & EQP_HEAD_TOP && sd->sc.data[SC_STRIPHELM])
return 0;
if (sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_SUPERNOVICE) {