summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-22 00:13:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-22 00:13:25 +0300
commit7f2d20125a377f5d59ab9067a8f204d57de02b5b (patch)
tree1c06349e957b9f5e67ecfc441afe9950178f5ab1
parentd32a8c1db45634fb2817bc2b8575171f8b478e33 (diff)
downloadevol-hercules-7f2d20125a377f5d59ab9067a8f204d57de02b5b.tar.gz
evol-hercules-7f2d20125a377f5d59ab9067a8f204d57de02b5b.tar.bz2
evol-hercules-7f2d20125a377f5d59ab9067a8f204d57de02b5b.tar.xz
evol-hercules-7f2d20125a377f5d59ab9067a8f204d57de02b5b.zip
Dont translate item links for old clients.
Now client can get item id and show translated name without server.
-rw-r--r--src/emap/script_buildins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index ea73dfe..d34b635 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -258,7 +258,7 @@ BUILDIN(getItemLink)
}
else if (i_data)
{
- sprintf(item_name, "[@@%u|%s@@]", (unsigned)i_data->nameid, lang_pctrans (i_data->jname, sd));
+ sprintf(item_name, "[@@%u|%s@@]", (unsigned)i_data->nameid, i_data->jname);
}
else if (item_id > 0)
{
@@ -272,7 +272,7 @@ BUILDIN(getItemLink)
else
{
if (i_data)
- sprintf(item_name, "[%s]", lang_pctrans (i_data->jname, sd));
+ sprintf(item_name, "[%s]", i_data->jname);
else
sprintf(item_name, "[Unknown Item]");
}
@@ -1804,7 +1804,7 @@ BUILDIN(getInvIndexLink)
}
else if (i_data)
{
- sprintf(item_name, "[@@%u|%s@@]", (unsigned)i_data->nameid, lang_pctrans (i_data->jname, sd));
+ sprintf(item_name, "[@@%u|%s@@]", (unsigned)i_data->nameid, i_data->jname);
}
else if (item_id > 0)
{
@@ -1818,7 +1818,7 @@ BUILDIN(getInvIndexLink)
else
{
if (i_data)
- sprintf(item_name, "[%s]", lang_pctrans (i_data->jname, sd));
+ sprintf(item_name, "[%s]", i_data->jname);
else
sprintf(item_name, "[Unknown Item]");
}