Fix a bug in merchant sell text (would garble bogus output at the end of the sell message to the player)
This commit is contained in:
parent
12959c1296
commit
c7725b7bae
1 changed files with 1 additions and 1 deletions
|
@ -6539,7 +6539,7 @@ void Client::SellItem(int32 item_id, int16 quantity, int32 unique_id) {
|
|||
if(total_status_sell_price)
|
||||
Message(CHANNEL_MERCHANT_BUY_SELL, "You sell %i %s to %s for %s and %u Status Points.", quantity, master_item->CreateItemLink(GetVersion()).c_str(), spawn->GetName(), GetCoinMessage(total_sell_price).c_str(), status_sell_price);
|
||||
else
|
||||
Message(CHANNEL_MERCHANT_BUY_SELL, "You sell %i %s to %s for %s%s.", quantity, master_item->CreateItemLink(GetVersion()).c_str(), spawn->GetName(), GetCoinMessage(total_sell_price).c_str());
|
||||
Message(CHANNEL_MERCHANT_BUY_SELL, "You sell %i %s to %s for %s.", quantity, master_item->CreateItemLink(GetVersion()).c_str(), spawn->GetName(), GetCoinMessage(total_sell_price).c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue