summaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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) {