Core/DB: Another typo in SaveToDB
This commit is contained in:
@@ -18429,9 +18429,7 @@ void Player::SaveToDB(bool create /*=false*/)
|
|||||||
// cache equipment...
|
// cache equipment...
|
||||||
for (uint32 i = 0; i < EQUIPMENT_SLOT_END * 2; ++i)
|
for (uint32 i = 0; i < EQUIPMENT_SLOT_END * 2; ++i)
|
||||||
ss << GetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID + i) << ' ';
|
ss << GetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID + i) << ' ';
|
||||||
stmt->setString(index++, ss.str());
|
|
||||||
|
|
||||||
ss.str().clear();
|
|
||||||
// ...and bags for enum opcode
|
// ...and bags for enum opcode
|
||||||
for (uint32 i = INVENTORY_SLOT_BAG_START; i < INVENTORY_SLOT_BAG_END; ++i)
|
for (uint32 i = INVENTORY_SLOT_BAG_START; i < INVENTORY_SLOT_BAG_END; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user