From 7457890d855c92747cd7801d66372581f1f2568c Mon Sep 17 00:00:00 2001
From: meko <mekolat@users.noreply.github.com>
Date: Wed, 15 Apr 2015 12:26:17 -0400
Subject: Make warp towels honor noteleport and nowarp

```noteleport``` makes the player unable to use warp towel
```nowarp``` makes the player AND GMs (with gm level under ```any_warp_GM_min_level```) unable to warp or use warp towel
---
 world/map/npc/items/warpTowels.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index f586ed99..e1ca89ee 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -6,7 +6,7 @@ function|script|WarpTowel
         goto L_DontPanic;
     if (isin("botcheck",25,27,51,47))
         goto L_Prison;
-    if (getmapflag(getmap(), MF_NOSAVE) || isin("009-7",$@fightclub_x1,$@fightclub_y1,$@fightclub_x2,$@fightclub_y2))
+    if (getmapflag(getmap(), MF_NOSAVE) || getmapflag(getmap(), MF_NOTELEPORT) || getmapflag(getmap(), MF_NOWARP) || isin("009-7",$@fightclub_x1,$@fightclub_y1,$@fightclub_x2,$@fightclub_y2))
         goto L_Forbid;
 
     callfunc "MultiWarpTowel";
-- 
cgit v1.2.3-70-g09d2