diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 02:39:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 02:39:07 +0300 |
commit | 5600abb3f24ef7a759dbd24279f93e9749d438f0 (patch) | |
tree | 955e3b07b7b3db84f90a3816dcc7f5365bcfdc40 /src/emap/script_buildins.c | |
parent | 433e89ad46c21b95e694c9f65d01460152c0572f (diff) | |
download | evol-hercules-5600abb3f24ef7a759dbd24279f93e9749d438f0.tar.gz evol-hercules-5600abb3f24ef7a759dbd24279f93e9749d438f0.tar.bz2 evol-hercules-5600abb3f24ef7a759dbd24279f93e9749d438f0.tar.xz evol-hercules-5600abb3f24ef7a759dbd24279f93e9749d438f0.zip |
Remove unused functions.
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r-- | src/emap/script_buildins.c | 10 |
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]; |