summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 21:45:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 21:45:15 +0300
commitba70c9dd63237b931ec6e855bf13d1b9118eb080 (patch)
tree08381191d141ad68e7ce7f8b30e9d6c3002af807 /src/map/npc.c
parentb32aa4307330553e45d5a0dba149cb5fda834249 (diff)
downloadevol-hercules-ba70c9dd63237b931ec6e855bf13d1b9118eb080.tar.gz
evol-hercules-ba70c9dd63237b931ec6e855bf13d1b9118eb080.tar.bz2
evol-hercules-ba70c9dd63237b931ec6e855bf13d1b9118eb080.tar.xz
evol-hercules-ba70c9dd63237b931ec6e855bf13d1b9118eb080.zip
fix errror with parsing map flags.
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);