summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 17:06:35 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 17:06:35 +0000
commitd43a01a1c9f8ec8473462475bb5eefd81c0a1cf8 (patch)
tree92088a349864ae3736518765d8e9874cb3ac5a3e
parentdf359028723013b4fee92794d2af6d0571c530da (diff)
downloadhercules-d43a01a1c9f8ec8473462475bb5eefd81c0a1cf8.tar.gz
hercules-d43a01a1c9f8ec8473462475bb5eefd81c0a1cf8.tar.bz2
hercules-d43a01a1c9f8ec8473462475bb5eefd81c0a1cf8.tar.xz
hercules-d43a01a1c9f8ec8473462475bb5eefd81c0a1cf8.zip
Changes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@837 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt4
-rw-r--r--src/map/atcommand.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 75ec8cbee..252c0de95 100644
--- a/Changelog.txt
+++ b/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]
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 3c1c04e7f..26c425d5f 100644
--- a/src/map/atcommand.c
+++ b/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) {