From cb44aff61ed172eb338535078d772090b124d465 Mon Sep 17 00:00:00 2001 From: veider Date: Mon, 28 Mar 2005 21:25:11 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') 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; -- cgit v1.2.3-70-g09d2