summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-23 23:18:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-23 23:18:24 -0300
commit4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463 (patch)
treedc793d620d5ebec4eb6b46f46bf05c7b1c6b20fb /npc/functions
parent6a3facc4987f5bc32c87e6c1de96ef63d00c88dc (diff)
downloadserverdata-4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463.tar.gz
serverdata-4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463.tar.bz2
serverdata-4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463.tar.xz
serverdata-4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463.zip
Wow, so dumb. Hercules doesn't acknowledges mapzone Normal in script engine.
But acknowledges it everywhere else. Dummy.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/siege.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 63035ddc0..3fa58cfb1 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -150,7 +150,7 @@ function script siege_selectmob {
// Prepare a siege with optional announce
// siege_setup ( map )
function script siege_setup {
- .@m$=getarg(0, "012-1");
+ .@m$=getarg(0);
// Save old map zone
$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=getmapinfo(MAPINFO_ZONE, .@m$);
@@ -188,7 +188,7 @@ function script siege_check {
// Revert what siege_setup did
// siege_revert ( map )
function script siege_revert {
- .@m$=getarg(0, "012-1");
+ .@m$=getarg(0);
// Revert map zone (to town, or to blank) and delete backup
removemapflag(.@m$,mf_zone);