From 03c45b1b06a788b6688601a1d1633c43795631c9 Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 13 May 2008 06:15:35 +0000 Subject: 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 --- Changelog-Trunk.txt | 3 +++ src/map/clif.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 3953b7591..887f724df 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2008/05/13 + * Fixed a mistake in r11344 that caused the 'my shop' window to display + info about cards slotted in items incorrectly (bugreport:1502) 2008/05/12 * Fixed a script engine problem where warping away while having a menu window open and talking to an another npc with a menu would produce 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)); } -- cgit v1.2.3-70-g09d2