summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-17 11:02:00 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-17 11:02:00 +0000
commita3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e (patch)
tree022a8a0f10f4edce1b32ccabdef371525400b987 /src/map/clif.c
parente1004c6e1ed06d985814b7e1ca7faf7e0beb5aef (diff)
downloadhercules-a3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e.tar.gz
hercules-a3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e.tar.bz2
hercules-a3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e.tar.xz
hercules-a3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e.zip
* Fixed missing edits for cash shop support for clients 2007-07-10aSakexe and older (follow up to r14932).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14957 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5d6a828d3..f81675d69 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -13383,13 +13383,15 @@ void clif_cashshop_ack(struct map_session_data* sd, int error)
/// 0288 <packet len>.W <kafra points>.L <count>.W { <amount>.W <name id>.W }.4B*count (PACKETVER >= 20100803)
void clif_parse_cashshop_buy(int fd, struct map_session_data *sd)
{
- int fail = 0, amount, points;
+ int fail = 0, amount, points = 0;
short nameid;
nullpo_retv(sd);
nameid = RFIFOW(fd,2);
amount = RFIFOW(fd,4);
+#if PACKETVER >= 20070711
points = RFIFOL(fd,6); // Not Implemented. Should be 0
+#endif
if( sd->state.trading || !sd->npc_shopid )
fail = 1;