summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-28 21:25:11 +0000
committerveider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-28 21:25:11 +0000
commitcb44aff61ed172eb338535078d772090b124d465 (patch)
tree68efd87328d3c019577d968833a44b588270c28b /src/map/script.c
parent00fb4a56f6ae894e84cdd62faf6bf596a097e0e0 (diff)
downloadhercules-cb44aff61ed172eb338535078d772090b124d465.tar.gz
hercules-cb44aff61ed172eb338535078d772090b124d465.tar.bz2
hercules-cb44aff61ed172eb338535078d772090b124d465.tar.xz
hercules-cb44aff61ed172eb338535078d772090b124d465.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a732f7bc4..d7d5f433e 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6980,6 +6980,7 @@ int buildin_cardscnt(struct script_state *st)
struct map_session_data *sd;
int i, k, id = 1;
int ret = 0;
+ int index, type;
sd = script_rid2sd(st);
@@ -6988,7 +6989,6 @@ int buildin_cardscnt(struct script_state *st)
if (id <= 0)
continue;
- int index, type;
index = current_equip_item_index; //we get CURRENT WEAPON inventory index from status.c [Lupus]
if(index < 0) continue;