summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-17 15:46:30 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-17 15:46:30 +0000
commit716b2ef1348d140ad73d9d678c2c8356f65bf2bf (patch)
tree4772b50803a61162a25b2bbfd53af1f9e8526ede /src/map/pc.c
parentb5d4555a74348d9f1c3f2c824d3117c7121b7d72 (diff)
downloadhercules-716b2ef1348d140ad73d9d678c2c8356f65bf2bf.tar.gz
hercules-716b2ef1348d140ad73d9d678c2c8356f65bf2bf.tar.bz2
hercules-716b2ef1348d140ad73d9d678c2c8356f65bf2bf.tar.xz
hercules-716b2ef1348d140ad73d9d678c2c8356f65bf2bf.zip
* Fixed Super Novices could not be adopted (bugreport:4907, since r12389).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14828 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-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 976d1e488..b134c005f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -695,7 +695,7 @@ bool pc_can_Adopt(struct map_session_data *p1_sd, struct map_session_data *p2_sd
return false;
}
- if( !(b_sd->status.class_ >= JOB_NOVICE && b_sd->status.class_ <= JOB_THIEF) )
+ if( !( ( b_sd->status.class_ >= JOB_NOVICE && b_sd->status.class_ <= JOB_THIEF ) || b_sd->status.class_ == JOB_SUPER_NOVICE ) )
return false;
return true;