Просмотр исходного кода

* Fixed Super Novices could not be adopted (bugreport:4907, since r12389).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14828 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 14 лет назад
Родитель
Сommit
e769080fca
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/pc.c

+ 1 - 0
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]

+ 1 - 1
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;