Fixed some LGTM warnings (#6767)

Co-authored-by: aleos <aleos89@users.noreply.github.com>
This commit is contained in:
Lemongrass3110
2022-03-31 22:20:17 +02:00
committed by GitHub
parent 0ef5fa905c
commit db540124ad
7 changed files with 24 additions and 26 deletions

View File

@@ -236,7 +236,7 @@ void mvptomb_destroy(struct mob_data *md) {
struct npc_data *nd;
if ( (nd = map_id2nd(md->tomb_nid)) ) {
int16 i;
int i;
struct map_data *mapdata = map_getmapdata(nd->bl.m);
clif_clearunit_area(&nd->bl,CLR_OUTSIGHT);