summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/pc.c2
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;