Pārlūkot izejas kodu

Changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@837 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber 20 gadi atpakaļ
vecāks
revīzija
96fb01e0d9
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 3 1
      Changelog.txt
  2. 1 1
      src/map/atcommand.c

+ 3 - 1
Changelog.txt

@@ -1,6 +1,8 @@
 Date	Added
-12/27
+12/28
+	* Fixed @jobchange to not default to upper (SVN 837) [MouseJstr]
 	* Fixed a compile error in @mobsearch (SVN 836) [MouseJstr]
+12/27
         * Updated 1206's packet fuctions in clif.c [celest]
         * Updated the new guild skills - cannot be reused within 5 minutes of 
           activating it [celest]

+ 1 - 1
src/map/atcommand.c

@@ -1952,7 +1952,7 @@ int atcommand_jobchange(
 	const int fd, struct map_session_data* sd,
 	const char* command, const char* message)
 {
-	int job = 0, upper = -1;
+	int job = 0, upper = 0;
 	nullpo_retr(-1, sd);
 
 	if (!message || !*message || sscanf(message, "%d %d", &job, &upper) < 1) {