Browse Source

Fix a bug in merchant sell text (would garble bogus output at the end of the sell message to the player)

Image 2 years ago
parent
commit
c7725b7bae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/client.cpp

+ 1 - 1
EQ2/source/WorldServer/client.cpp

@@ -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
 			{