Backported from TC2: *Fix typo causing problems with buying items.

--HG--
branch : trunk
This commit is contained in:
krz
2009-06-25 17:14:56 +02:00
parent b8a1ffcf50
commit 8334693fe7
+1 -1
View File
@@ -17133,7 +17133,7 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint
if(count < 1) count = 1;
// cheating attempt
if(slot > MAX_BAG_SIZE)
if(slot > MAX_BAG_SIZE && slot != NULL_SLOT)
return false;
if(!isAlive())