diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 288f2730605..063ec6956cc 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -17793,7 +17793,8 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint { if( bagguid == pBag->GetGUID() ) { - bag = i; + if(slot < pBag->GetBagSlot() && !pBag->GetItemByPos(slot)) + bag = i; break; } } |