Fixed unknown state handling in mob skills

This commit is contained in:
Lemongrass3110
2016-10-19 14:42:25 +02:00
parent e93c8880b3
commit 4db687c7a4

View File

@@ -4435,8 +4435,8 @@ static bool mob_parse_row_mobskilldb(char** str, int columns, int current)
if( j < ARRAYLENGTH(state) )
ms->state = state[j].id;
else {
ShowWarning("mob_parse_row_mobskilldb: Unrecognized state %s\n", str[2]);
ms->state = MSS_ANY;
ShowError("mob_parse_row_mobskilldb: Unrecognized state '%s' in line %d\n", str[2], current);
return false;
}
//Skill ID