* Fixed class being used instead of idx in status_readdb_job2 (bugreport:4597, since r14526).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14530 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
947d2c8ae4
commit
cc4608e666
@ -1,6 +1,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
2010/11/30
|
2010/11/30
|
||||||
|
* Fixed class being used instead of idx in status_readdb_job2 (bugreport:4597, since r14526). [Ai4rei]
|
||||||
* Moved function 'exists' (file presense check) to utils.c, so that it is available to code outside of lock.c [Ai4rei]
|
* Moved function 'exists' (file presense check) to utils.c, so that it is available to code outside of lock.c [Ai4rei]
|
||||||
- Fixed associated F_OK and R_OK defines causing 'already defined' warnings on MinGW (since r1361).
|
- Fixed associated F_OK and R_OK defines causing 'already defined' warnings on MinGW (since r1361).
|
||||||
* Resolved missing script documentation (bugreport:4578). [Ai4rei]
|
* Resolved missing script documentation (bugreport:4578). [Ai4rei]
|
||||||
|
@ -7725,7 +7725,7 @@ static bool status_readdb_job2(char* fields[], int columns, int current)
|
|||||||
|
|
||||||
for(i = 1; i < columns; i++)
|
for(i = 1; i < columns; i++)
|
||||||
{
|
{
|
||||||
job_bonus[class_][i-1] = atoi(fields[i]);
|
job_bonus[idx][i-1] = atoi(fields[i]);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user