From ca7008b760c6a2561d1a16d8a632fb30de34b360 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 12 Oct 2013 16:07:40 -0300 Subject: Fixed Bug #7701 Cashshop window wasn't visually updating the cashpoint count after purchasing pet eggs, Thanks to kyeme. http://hercules.ws/board/tracker/issue-7701-buying-egg-on-cash-shop/ Signed-off-by: shennetsind --- src/map/clif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 823a44956..a90ab746f 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17451,7 +17451,8 @@ void clif_parse_CashShopBuy(int fd, struct map_session_data *sd) { if( result != CSBR_SUCCESS ) pc->getcash(sd, clif->cs.data[tab][j]->price * get_count,0); - } + } else /* create_egg succeeded so mark as success */ + result = CSBR_SUCCESS; } } } else { -- cgit v1.2.3-60-g2f50