summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-13 06:15:35 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-13 06:15:35 +0000
commit03c45b1b06a788b6688601a1d1633c43795631c9 (patch)
treec27e1de66f4600b29b152679cfb35e8cfd792af7 /src/map
parent9babdbcbb4209a6ae861550eb662ac810d7ad886 (diff)
downloadhercules-03c45b1b06a788b6688601a1d1633c43795631c9.tar.gz
hercules-03c45b1b06a788b6688601a1d1633c43795631c9.tar.bz2
hercules-03c45b1b06a788b6688601a1d1633c43795631c9.tar.xz
hercules-03c45b1b06a788b6688601a1d1633c43795631c9.zip
Fixed a mistake in r11344 that caused the 'my shop' window to display info about cards slotted in items incorrectly (bugreport:1502).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12704 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index bac29ef47..7275ede90 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5230,7 +5230,7 @@ void clif_openvending(struct map_session_data* sd, int id, struct s_vending* ven
WFIFOB(fd,19+i*22) = sd->status.cart[index].identify;
WFIFOB(fd,20+i*22) = sd->status.cart[index].attribute;
WFIFOB(fd,21+i*22) = sd->status.cart[index].refine;
- clif_addcards(WFIFOP(fd,22+count*22), &sd->status.cart[index]);
+ clif_addcards(WFIFOP(fd,22+i*22), &sd->status.cart[index]);
}
WFIFOSET(fd,WFIFOW(fd,2));
}