summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-03 14:19:28 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-03 14:19:28 -0300
commit4c82cadd11defeb94ab9317af8b3b74884e745fc (patch)
tree2f68a74f8cdac24506f9319d75fb70eda9ee9ea6
parent6f495eed0fba87e24cb27cac7bba2c94242f3184 (diff)
downloadserverdata-4c82cadd11defeb94ab9317af8b3b74884e745fc.tar.gz
serverdata-4c82cadd11defeb94ab9317af8b3b74884e745fc.tar.bz2
serverdata-4c82cadd11defeb94ab9317af8b3b74884e745fc.tar.xz
serverdata-4c82cadd11defeb94ab9317af8b3b74884e745fc.zip
Remove duplicate code
-rw-r--r--npc/functions/main.txt11
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 {