diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-12 23:15:27 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-12 23:15:27 +0000 |
commit | 7fed7ca773550e124e256a6c976ea2762cf9498b (patch) | |
tree | 48d5d5ebd6d50b46fb58c5231acf95544c35c2cc /src/char_sql | |
parent | 96dd8cdf7ac9778cbb84b7c67f65296b8f723eb5 (diff) | |
download | hercules-7fed7ca773550e124e256a6c976ea2762cf9498b.tar.gz hercules-7fed7ca773550e124e256a6c976ea2762cf9498b.tar.bz2 hercules-7fed7ca773550e124e256a6c976ea2762cf9498b.tar.xz hercules-7fed7ca773550e124e256a6c976ea2762cf9498b.zip |
* Fixed wrong index calculation in TXT char creation code (ref: r11410)
* Fixed SQL itemdb loading crash on NULL columns (ref: 11398)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11434 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index a02bc32d9..f3ecdfe43 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2952,7 +2952,7 @@ int parse_char(int fd) // add new entry to the chars list ARR_FIND( 0, MAX_CHARS, ch, sd->found_char[ch] == -1 ); if( ch < MAX_CHARS ) - sd->found_char[ch] = i; + sd->found_char[ch] = i; // the char_id of the new char } RFIFOSKIP(fd,37); |