summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 7478f0f..3eabaa9 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -60,7 +60,7 @@ void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char
if (data)
data->invisible = true;
}
- if (!strcmpi(w3, "mask"))
+ else if (!strcmpi(w3, "mask"))
{
int16 m = map->mapname2mapid(name);
struct MapdExt *data = mapd_get(m);