From 7fed7ca773550e124e256a6c976ea2762cf9498b Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 12 Oct 2007 23:15:27 +0000 Subject: * 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 --- src/char_sql/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char_sql') 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); -- cgit v1.2.3-60-g2f50