summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/init.c1
-rw-r--r--src/emap/script_buildins.c15
-rw-r--r--src/emap/script_buildins.h1
3 files changed, 0 insertions, 17 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index d46254d..835d8b3 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -165,7 +165,6 @@ HPExport void plugin_init (void)
addScriptCommand("failedremovecardsindex", "ii", failedRemoveCardsIndex);
addScriptCommand("getcardbyindex", "ii", getCardByIndex);
addScriptCommand("removecardbyindex", "ii", removeCardByIndex);
- addScriptCommand("isstr", "v", isStr);
addScriptCommand("setbgteam", "ii", setBgTeam);
addScriptCommand("checknpccell", "siii", checkNpcCell);
addScriptCommand("setcells", "siiiiis", setCells);
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index ae705ce..0c125c2 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -1438,21 +1438,6 @@ BUILDIN(removeCardByIndex)
return true;
}
-// return paramater type
-// 0 - int
-// 1 - string
-// 2 - other
-BUILDIN(isStr)
-{
- if (script_isinttype(st, 2))
- script_pushint(st, 0);
- else if (script_isstringtype(st, 2))
- script_pushint(st, 1);
- else
- script_pushint(st, 2);
- return true;
-}
-
BUILDIN(npcSit)
{
TBL_NPC *nd = NULL;
diff --git a/src/emap/script_buildins.h b/src/emap/script_buildins.h
index 374e1eb..aebdb49 100644
--- a/src/emap/script_buildins.h
+++ b/src/emap/script_buildins.h
@@ -54,7 +54,6 @@ BUILDIN(successRemoveCardsIndex);
BUILDIN(failedRemoveCardsIndex);
BUILDIN(getCardByIndex);
BUILDIN(removeCardByIndex);
-BUILDIN(isStr);
BUILDIN(npcSit);
BUILDIN(npcStand);
BUILDIN(npcWalkTo);