--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-27 16:37:29 +02:00
6 changed files with 69 additions and 28 deletions
+1 -5
View File
@@ -159,11 +159,7 @@ void Bag::RemoveItem( uint8 slot, bool /*update*/ )
void Bag::StoreItem( uint8 slot, Item *pItem, bool /*update*/ )
{
if(slot > MAX_BAG_SIZE)
{
sLog.outError("Player GUID " I64FMTD " tried to manipulate packets and crash the server.", GetOwnerGUID());
return;
}
assert(slot < MAX_BAG_SIZE);
if( pItem )
{