From 581f8c7393757ea70c4aaa64f6e20b57f74a32ae Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 30 Oct 2017 01:55:16 +0100 Subject: Use the skill DB accessors where possible/appropriate This includes some renamed local variables, in order to minimize the cases of unsafe variable reuse. Signed-off-by: Haru --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 208617b5d..f509ecace 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4846,7 +4846,7 @@ bool mob_parse_row_mobskilldb(char** str, int columns, int current) struct mob_skill *ms, gms; int mob_id; int i =0, j, tmp; - uint16 sidx = 0; + int sidx = 0; nullpo_retr(false, str); mob_id = atoi(str[0]); -- cgit v1.2.3-70-g09d2