diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/main.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index f491c24fe..56090e926 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -298,17 +298,6 @@ function script isin { return false; } -// isinrad( map, x1, y1, radius) -function script isin { - if (getmapxy(.@mapName$, .@xpos, .@ypos, 0) != 0) - return false; - if (.@mapName$ != getarg(0)) - return false; - if (.@xpos >= getarg(1) && .@xpos <= getarg(3) && .@ypos >= getarg(2) && .@ypos <= getarg(4)) - return true; - return false; -} - // Get some acc id, even if offline // ( Name ) function script gf_accid { |