summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-12 09:03:33 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-12 09:03:33 -0300
commit39415877d0a5de26560db25c766c2f8b77528a1f (patch)
tree66005525f05d6823e25c9cc1fa56e4c6f995a285 /npc/functions/main.txt
parentbff9060e6c798344b3d72fa6a1e2166dc5ebef0e (diff)
downloadserverdata-39415877d0a5de26560db25c766c2f8b77528a1f.tar.gz
serverdata-39415877d0a5de26560db25c766c2f8b77528a1f.tar.bz2
serverdata-39415877d0a5de26560db25c766c2f8b77528a1f.tar.xz
serverdata-39415877d0a5de26560db25c766c2f8b77528a1f.zip
Mapmasks in original TMWA are a bit... weird, so update the wrappers to its twisted vision.
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 450d7a39..ead3a99d 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -550,12 +550,12 @@ function script camera {
}
function script mapmask {
- setmapmask getmapname(), getarg(0);
+ sendmapmask getmapname(), getarg(0);
return;
}
function script getmask {
- return getmapmask(getmapname());
+ return 1; //getmapmask(getmapname()); // TODO: Return original map masks
}
// isat( map, x, y )