* 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://svn.code.sf.net/p/rathena/svn/trunk@11434 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user