*Fix crash in AV

--HG--
branch : trunk
This commit is contained in:
Drahy
2009-06-27 17:29:12 +02:00
parent ab7e83a72c
commit 548f857d97
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -17800,6 +17800,7 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint
sLog.outDebug("CHEATING ATTEMPT slot > bagSize in BuyItemFromVendor playerGUID: "I64FMT" name: %s slot: %u", GetGUID(), GetName(), slot);
return false;
}
if(slot < pBag->GetBagSlot() && !pBag->GetItemByPos(slot))
bag = i;
break;
}