diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-16 03:28:42 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-16 03:28:42 +0000 |
commit | 1538897bcc4408788a42216bd9151943c8fc67f9 (patch) | |
tree | 188dc80216836f11bf4d96e0d1801cc90e84ceab /src/map/atcommand.c | |
parent | eb14b67a9e71407702d69498b88eff1b6ef85c6c (diff) | |
download | hercules-1538897bcc4408788a42216bd9151943c8fc67f9.tar.gz hercules-1538897bcc4408788a42216bd9151943c8fc67f9.tar.bz2 hercules-1538897bcc4408788a42216bd9151943c8fc67f9.tar.xz hercules-1538897bcc4408788a42216bd9151943c8fc67f9.zip |
Fix compile errors
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@578 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 353aae044..8db07f942 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2039,6 +2039,7 @@ int atcommand_jobchange( return 0; if ((job >= 0 && job < MAX_PC_CLASS)) { + int j; // fix pecopeco display if ((job != 13 && job != 21 && job != 4014 && job != 4022)) { @@ -2067,7 +2068,6 @@ int atcommand_jobchange( job = 4015; } } - int j; for (j=0; j < MAX_INVENTORY; j++) { if(sd->status.inventory[j].nameid>0 && sd->status.inventory[j].equip!=0) pc_unequipitem(sd, j, 3); |