diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/init.c | 3 | ||||
-rw-r--r-- | src/map/script.c | 21 | ||||
-rw-r--r-- | src/map/script.h | 3 |
3 files changed, 0 insertions, 27 deletions
diff --git a/src/map/init.c b/src/map/init.c index 241e1b2..910b5df 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -67,8 +67,6 @@ HPExport void plugin_init (void) addScriptCommand("getitemlink", "s", getItemLink); addScriptCommand("l", "s*", l); addScriptCommand("lg", "s*", lg); - addScriptCommandDeprecated("getlang", "", getLang); - addScriptCommandDeprecated("setlang", "i", setLang); addScriptCommand("requestlang", "v", requestLang); addScriptCommand("getq", "i", getq); addScriptCommand("setq", "ii", setq); @@ -76,7 +74,6 @@ HPExport void plugin_init (void) addScriptCommand("setnpcdir", "*", setNpcDir); addScriptCommand("rif", "is*", rif); addScriptCommand("countitemcolor", "v*", countItemColor); - addScriptCommandDeprecated("getclientversion", "", getClientVersion); // must be replaced to misceffect addScriptCommand("misceffect2", "i*", dummy); diff --git a/src/map/script.c b/src/map/script.c index efb53a9..bdf8bb2 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -38,27 +38,6 @@ BUILDIN(lg) return true; } -BUILDIN(getClientVersion) -{ - getDataReturn(0); - script_pushint(st, data->clientVersion); - return true; -} - -BUILDIN(getLang) -{ - getDataReturn(0); - script_pushint(st, data->language); - return true; -} - -BUILDIN(setLang) -{ - getData(); - data->language = script_getnum(st, 2); - return true; -} - BUILDIN(setCamNpc) { getSD(); diff --git a/src/map/script.h b/src/map/script.h index cc54dba..a58b071 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -6,9 +6,6 @@ BUILDIN(l); BUILDIN(lg); -BUILDIN(getClientVersion); -BUILDIN(getLang); -BUILDIN(setLang); BUILDIN(setCamNpc); BUILDIN(restoreCam); BUILDIN(npcTalk3); |