summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-03 20:24:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-03 20:24:55 +0000
commite73f031ff8b096657c154b26d4090dc0a2caa56b (patch)
treecb1d0854a1d785bdbbcb5b0bf107939efba9dbfd /src/map/party.c
parent6bac06320597d550fbc4d879d6ed275c6a4c66f4 (diff)
downloadhercules-e73f031ff8b096657c154b26d4090dc0a2caa56b.tar.gz
hercules-e73f031ff8b096657c154b26d4090dc0a2caa56b.tar.bz2
hercules-e73f031ff8b096657c154b26d4090dc0a2caa56b.tar.xz
hercules-e73f031ff8b096657c154b26d4090dc0a2caa56b.zip
- Fixed a wrong check being done for AM_TWILIGHT3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5176 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index e0b32df0f..ded5626f0 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -584,7 +584,7 @@ int party_skill_check(struct map_session_data *sd, int party_id, int skillid, in
return 1;
break;
case AM_TWILIGHT3: //Twilight Pharmacy, Requires Taekwon
- if ((p_sd->class_&MAPID_NOVICE) == MAPID_TAEKWON
+ if ((p_sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON
&& sd->bl.m == p_sd->bl.m)
return 1;
break;