summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-18 15:45:25 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-18 15:45:25 -0300
commit290a662e5b76d0cebfe4a7a25affe3528027f7f0 (patch)
tree212b234c1e095cb5b02d662e9b844d944540abcd
parente54329f97cb62f02b9ef0a4429fc8620508624eb (diff)
downloadserverdata-290a662e5b76d0cebfe4a7a25affe3528027f7f0.tar.gz
serverdata-290a662e5b76d0cebfe4a7a25affe3528027f7f0.tar.bz2
serverdata-290a662e5b76d0cebfe4a7a25affe3528027f7f0.tar.xz
serverdata-290a662e5b76d0cebfe4a7a25affe3528027f7f0.zip
For some weird reason, that code involving mf_zone fix on siege doesn't works
-rw-r--r--npc/functions/siege.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index b6c3dc2a3..d5ca43c8d 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -172,7 +172,8 @@ function script siege_revert {
// Revert map zone (to town, or to blank) and delete backup
removemapflag(.@m$,mf_zone);
- setmapflag(.@m$,mf_zone,$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]);
+ //setmapflag(.@m$,mf_zone,$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]);
+ setmapflag(.@m$,mf_zone,"Normal");
$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]="";
removemapmask .@m$, MASK_MATTACK;