summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 21:57:42 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 21:57:42 +0000
commit41d6c04de583963eb404739d66501546e96c838b (patch)
tree898726607729eb29c7d6d567bc7e4fca14feff4f /src/map
parent3bfffae6e19de6b318c53252346f1b51f7b246d5 (diff)
downloadhercules-41d6c04de583963eb404739d66501546e96c838b.tar.gz
hercules-41d6c04de583963eb404739d66501546e96c838b.tar.bz2
hercules-41d6c04de583963eb404739d66501546e96c838b.tar.xz
hercules-41d6c04de583963eb404739d66501546e96c838b.zip
* Fixed class being used instead of idx in status_readdb_job2 (bugreport:4597, since r14526).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14530 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 7d9a804e5..80a31bcae 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7725,7 +7725,7 @@ static bool status_readdb_job2(char* fields[], int columns, int current)
for(i = 1; i < columns; i++)
{
- job_bonus[class_][i-1] = atoi(fields[i]);
+ job_bonus[idx][i-1] = atoi(fields[i]);
}
return true;
}