*Fix crash in AV

--HG--
branch : trunk
This commit is contained in:
Drahy committed 2009-06-27 17:29:12 +02:00
1 parent ab7e83a72c
commit 548f857d97
2 files changed
+15

No files matched your search

+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;
}