Core: Corrected conflicting variable names
This commit is contained in:
@@ -590,11 +590,10 @@ void WorldSession::HandleCalendarGetNumPending(WorldPacket& /*recvData*/)
|
||||
|
||||
void WorldSession::SendCalendarEvent(CalendarEvent const& calendarEvent, CalendarSendEventType sendEventType)
|
||||
{
|
||||
uint64 guid = _player->GetGUID();
|
||||
uint64 eventId = calendarEvent.GetEventId();
|
||||
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "SMSG_CALENDAR_SEND_EVENT [" UI64FMTD "] EventId ["
|
||||
UI64FMTD "] SendType %u", guid, eventId, sendEventType);
|
||||
UI64FMTD "] SendType %u", _player->GetGUID(), eventId, sendEventType);
|
||||
|
||||
WorldPacket data(SMSG_CALENDAR_SEND_EVENT);
|
||||
data << uint8(sendEventType);
|
||||
@@ -632,7 +631,7 @@ void WorldSession::SendCalendarEvent(CalendarEvent const& calendarEvent, Calenda
|
||||
}
|
||||
else
|
||||
{
|
||||
data.appendPackGUID(guid);
|
||||
data.appendPackGUID(_player->GetGUID());
|
||||
data << uint8(0) << uint8(0) << uint8(0) << uint8(0)
|
||||
<< uint64(0) << uint32(0) << uint8(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user