diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-17 15:46:30 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-17 15:46:30 +0000 |
commit | 716b2ef1348d140ad73d9d678c2c8356f65bf2bf (patch) | |
tree | 4772b50803a61162a25b2bbfd53af1f9e8526ede | |
parent | b5d4555a74348d9f1c3f2c824d3117c7121b7d72 (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/pc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 4f5090e45..2bd93542f 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,6 +1,7 @@ Date Added 2011/05/17 + * Fixed Super Novices could not be adopted (bugreport:4907, since r12389). [Ai4rei] * Improved error reporting during monster database and spawn data reading. [Ai4rei] 2011/05/15 * Extracted calculations of the number of status points PC gets when leveling up to a function. [Gepard] 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; |