Merge pull request #1637 from rathena/hotfix/issue1636
Fixed unknown state handling in mob skills
This commit is contained in:
commit
1c74af7b1f
@ -4435,8 +4435,8 @@ static bool mob_parse_row_mobskilldb(char** str, int columns, int current)
|
|||||||
if( j < ARRAYLENGTH(state) )
|
if( j < ARRAYLENGTH(state) )
|
||||||
ms->state = state[j].id;
|
ms->state = state[j].id;
|
||||||
else {
|
else {
|
||||||
ShowWarning("mob_parse_row_mobskilldb: Unrecognized state %s\n", str[2]);
|
ShowError("mob_parse_row_mobskilldb: Unrecognized state '%s' in line %d\n", str[2], current);
|
||||||
ms->state = MSS_ANY;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Skill ID
|
//Skill ID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user