diff options
author | shennetsind <ind@henn.et> | 2013-10-12 16:07:40 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-12 16:07:40 -0300 |
commit | ca7008b760c6a2561d1a16d8a632fb30de34b360 (patch) | |
tree | 4a70afa36a527848702e4d90e87ee97ce415c323 | |
parent | 0ca3552670428c4ebe59102a2c3fba2d775006b4 (diff) | |
download | hercules-ca7008b760c6a2561d1a16d8a632fb30de34b360.tar.gz hercules-ca7008b760c6a2561d1a16d8a632fb30de34b360.tar.bz2 hercules-ca7008b760c6a2561d1a16d8a632fb30de34b360.tar.xz hercules-ca7008b760c6a2561d1a16d8a632fb30de34b360.zip |
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 <ind@henn.et>
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |