summaryrefslogtreecommitdiff
path: root/npc/custom/warper.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/warper.txt')
-rw-r--r--npc/custom/warper.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/warper.txt b/npc/custom/warper.txt
index 311274997..4e85119dd 100644
--- a/npc/custom/warper.txt
+++ b/npc/custom/warper.txt
@@ -85,7 +85,7 @@ function Pick {
set .@map$, getarg(0)+((.@i<10)?"0":"")+.@i;
}
if (.@warp_block & (1<<.@select)) {
- message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
+ message strcharinfo(0),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal.";
close;
}
warp .@map$,@c[.@i*2],@c[.@i*2+1];
@@ -94,13 +94,13 @@ function Pick {
end;
}
function Restrict {
- if ((getarg(0) == "RE" && !checkre(0)) || (getarg(0) == "Pre-RE" && checkre(0))) {
+ if ((getarg(0) == "RE" && !RENEWAL) || (getarg(0) == "Pre-RE" && RENEWAL)) {
if (getarg(1,0)) {
set @warp_block,0;
for(set .@i,1; .@i<getargcount(); set .@i,.@i+1)
set @warp_block, @warp_block | (1<<getarg(.@i));
} else {
- message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal.";
+ message strcharinfo(0),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal.";
close;
}
}