summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r--src/emap/script_buildins.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 45444b4..8891311 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -236,11 +236,6 @@ BUILDIN(getItemLink)
if (sd)
{
- int version = 0;
- struct SessionExt *data = session_get_bysd(sd);
- if (data)
- version = data->clientVersion;
-
if (i_data)
{
if (!script_hasdata(st, 3))
@@ -1841,11 +1836,6 @@ BUILDIN(getInvIndexLink)
if (sd)
{
- int version = 0;
- struct SessionExt *data = session_get_bysd(sd);
- if (data)
- version = data->clientVersion;
-
if (i_data)
{
const struct item *const item = &sd->status.inventory[index];