diff options
Diffstat (limited to 'src/emap')
-rw-r--r-- | src/emap/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/skill.c b/src/emap/skill.c index eb177cc..d559693 100644 --- a/src/emap/skill.c +++ b/src/emap/skill.c @@ -218,7 +218,7 @@ void eskill_validate_additional_fields(struct config_setting_t *conf, { nullpo_retv(conf); nullpo_retv(sk); - Assert_retv(sk->nameid >= 0 && sk->nameid < MAX_SKILL_ID); + Assert_retv(sk->nameid < MAX_SKILL_ID); int i32 = 0; struct config_setting_t *t = NULL; |