*Fix typo causing problems with buying items.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-25 13:50:11 +02:00
parent 5ae6467fc7
commit d234b35a0c
+3 -3
View File
@@ -17639,11 +17639,11 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint
{ {
// cheating attempt // cheating attempt
if(count < 1) count = 1; if(count < 1) count = 1;
// cheating attempt // cheating attempt
if(slot > MAX_BAG_SIZE) if(slot > MAX_BAG_SIZE && slot !=NULL_SLOT)
return false; return false;
if(!isAlive()) if(!isAlive())
return false; return false;