summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-24 21:02:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-24 21:02:25 +0300
commit78816fc57d05c56b4cbf2f920b5679051e593197 (patch)
tree7f3f440bbc68831ceb57e7f97291fdcd2cdc734c /src/emap/init.c
parent0537167c95056c57e926d4207c3f614b8382a797 (diff)
downloadevol-hercules-78816fc57d05c56b4cbf2f920b5679051e593197.tar.gz
evol-hercules-78816fc57d05c56b4cbf2f920b5679051e593197.tar.bz2
evol-hercules-78816fc57d05c56b4cbf2f920b5679051e593197.tar.xz
evol-hercules-78816fc57d05c56b4cbf2f920b5679051e593197.zip
Add support for cards in script funciton getitemlink.
Example: getitemlink(1301, 5002)
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 0e1463a..f9f264b 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -92,7 +92,7 @@ HPExport void plugin_init (void)
addScriptCommand("npctalk3", "s", npcTalk3);
addScriptCommand("closedialog", "", closeDialog);
addScriptCommand("shop", "s", shop);
- addScriptCommand("getitemlink", "v", getItemLink);
+ addScriptCommand("getitemlink", "v*", getItemLink);
addScriptCommand("getinvindexlink", "i", getInvIndexLink);
addScriptCommand("l", "s*", l);
addScriptCommand("lg", "s*", lg);