summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/items/teleporter.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt
index 85da81188..4e9b13494 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -10,7 +10,7 @@
// Checks if you can warp
function loftel_check {
- getmapxy(.@m$, .@x, .@y);
+ getmapxy(.@m$, .@x, .@y, 0);
return (readparam(Hp) < readparam(MaxHp) && !getmapflag(.@m$, mf_town));
}