mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Patchwork of changes..mostly related tracing a cursor queue bug (see changelog)
This commit is contained in:
@@ -1837,12 +1837,11 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
if (loaditems) { /* Dont load if a length error occurs */
|
||||
BulkSendInventoryItems();
|
||||
/* Send stuff on the cursor which isnt sent in bulk */
|
||||
iter_queue it;
|
||||
for (it = m_inv.cursor_begin(); it != m_inv.cursor_end(); ++it) {
|
||||
for (auto iter = m_inv.cursor_begin(); iter != m_inv.cursor_end(); ++iter) {
|
||||
/* First item cursor is sent in bulk inventory packet */
|
||||
if (it == m_inv.cursor_begin())
|
||||
if (iter == m_inv.cursor_begin())
|
||||
continue;
|
||||
const ItemInst *inst = *it;
|
||||
const ItemInst *inst = *iter;
|
||||
SendItemPacket(MainCursor, inst, ItemPacketSummonItem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user