diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-28 21:45:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-28 21:45:15 +0300 |
commit | ba70c9dd63237b931ec6e855bf13d1b9118eb080 (patch) | |
tree | 08381191d141ad68e7ce7f8b30e9d6c3002af807 /src | |
parent | b32aa4307330553e45d5a0dba149cb5fda834249 (diff) | |
download | evol-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')
-rw-r--r-- | src/map/npc.c | 2 |
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); |