[Fix] Add check for simultaneous direct vendor and parcel Trader/Buyer Purchase (#4778)

This commit is contained in:
Mitch Freeman
2025-03-14 00:30:00 -03:00
committed by GitHub
parent 3c2545cfaf
commit e93785f885
4 changed files with 38 additions and 1 deletions
+2
View File
@@ -443,6 +443,8 @@ public:
int64 ValidateBuyLineCost(std::map<uint32, BuylineItemDetails_Struct>& item_map);
bool DoBarterBuyerChecks(BuyerLineSellItem_Struct& sell_line);
bool DoBarterSellerChecks(BuyerLineSellItem_Struct& sell_line);
void CancelBuyerTradeWindow();
void CancelTraderTradeWindow();
void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho);
bool ShouldISpawnFor(Client *c) { return !GMHideMe(c) && !IsHoveringForRespawn(); }