diff options
author | Haru <haru@dotalux.com> | 2017-10-30 01:55:16 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-11-05 18:30:15 +0100 |
commit | 581f8c7393757ea70c4aaa64f6e20b57f74a32ae (patch) | |
tree | f14ebb5a6fc1c95f50284523f0deebddc3f551bb /src/map/mob.c | |
parent | 2b4bfa5d08931530d5c9b30af10dd58c1af14883 (diff) | |
download | hercules-581f8c7393757ea70c4aaa64f6e20b57f74a32ae.tar.gz hercules-581f8c7393757ea70c4aaa64f6e20b57f74a32ae.tar.bz2 hercules-581f8c7393757ea70c4aaa64f6e20b57f74a32ae.tar.xz hercules-581f8c7393757ea70c4aaa64f6e20b57f74a32ae.zip |
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 <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |