Fixed char saving after buyingstore transactions
Fixes #2148 Thanks to @Encon21
This commit is contained in:
parent
c0476f6bfe
commit
068ea0a4ba
@ -471,9 +471,9 @@ void buyingstore_trade(struct map_session_data* sd, uint32 account_id, unsigned
|
||||
clif_buyingstore_update_item(pl_sd, nameid, amount, sd->status.char_id, zeny);
|
||||
}
|
||||
|
||||
if( save_settings&CHARSAVE_BANK ) {
|
||||
chrif_save(sd, CSAVE_NORMAL);
|
||||
chrif_save(pl_sd, CSAVE_NORMAL);
|
||||
if( save_settings&CHARSAVE_VENDING ) {
|
||||
chrif_save(sd, CSAVE_NORMAL|CSAVE_INVENTORY);
|
||||
chrif_save(pl_sd, CSAVE_NORMAL|CSAVE_INVENTORY);
|
||||
}
|
||||
|
||||
// check whether or not there is still something to buy
|
||||
|
Loading…
x
Reference in New Issue
Block a user