From a3b5d7d0f3e6724836b411183fa8f7fd0bc5bf8e Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sat, 17 Sep 2011 11:02:00 +0000 Subject: * 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 --- src/map/clif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/clif.c') 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 .W .L .W { .W .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; -- cgit v1.2.3-70-g09d2