mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Small code cleanups.
This commit is contained in:
parent
65339d1c0b
commit
1f73468131
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ Bag::Bag( ): Item()
|
||||||
|
|
||||||
m_valuesCount = CONTAINER_END;
|
m_valuesCount = CONTAINER_END;
|
||||||
|
|
||||||
memset(m_bagslot, 0, sizeof(Item *) * MAX_BAG_SIZE); // Maximum 20 Slots
|
memset(m_bagslot, 0, sizeof(Item *) * MAX_BAG_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
Bag::~Bag()
|
Bag::~Bag()
|
||||||
|
|
|
||||||
|
|
@ -13680,7 +13680,7 @@ bool Player::MinimalLoadFromDB( QueryResult *result, uint32 guid )
|
||||||
|
|
||||||
if(!LoadValues( fields[1].GetString()))
|
if(!LoadValues( fields[1].GetString()))
|
||||||
{
|
{
|
||||||
sLog.outError("ERROR: Player #%d have broken data in `data` field. Can't be loaded.",GUID_LOPART(guid));
|
sLog.outError("ERROR: Player #%d have broken data in `data` field. Can't be loaded for character list.",GUID_LOPART(guid));
|
||||||
if(delete_result) delete result;
|
if(delete_result) delete result;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue