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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index cf0632416..e02b31741 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2600,7 +2600,8 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4)
else if (strcmpi(w3,"restricted")==0) { // Komurka
map[m].flag.restricted=1;
sscanf(w4, "%d", &map[m].zone);
- map[m].zone = pow(2,map[m].zone+1);
+ //map[m].zone = pow(2,map[m].zone+1);
+ map[m].zone = 1<<(map[m].zone+1);
}
return 0;