mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 11:33:48 +00:00
fix(Core/Misc): SendAuthWaitQueue typo (#7868)
* cherry-pick commit <a832a1fe90>
Co-Authored-By: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>
Co-authored-by: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>
This commit is contained in:
@@ -751,7 +751,7 @@ void WorldSession::Handle_Deprecated(WorldPacket& recvPacket)
|
|||||||
GetOpcodeNameForLogging(static_cast<OpcodeClient>(recvPacket.GetOpcode())).c_str(), GetPlayerInfo().c_str());
|
GetOpcodeNameForLogging(static_cast<OpcodeClient>(recvPacket.GetOpcode())).c_str(), GetPlayerInfo().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::SendAuthWaitQue(uint32 position)
|
void WorldSession::SendAuthWaitQueue(uint32 position)
|
||||||
{
|
{
|
||||||
if (position == 0)
|
if (position == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ public:
|
|||||||
bool Update(uint32 diff, PacketFilter& updater);
|
bool Update(uint32 diff, PacketFilter& updater);
|
||||||
|
|
||||||
/// Handle the authentication waiting queue (to be completed)
|
/// Handle the authentication waiting queue (to be completed)
|
||||||
void SendAuthWaitQue(uint32 position);
|
void SendAuthWaitQueue(uint32 position);
|
||||||
|
|
||||||
//void SendTestCreatureQueryOpcode(uint32 entry, ObjectGuid guid, uint32 testvalue);
|
//void SendTestCreatureQueryOpcode(uint32 entry, ObjectGuid guid, uint32 testvalue);
|
||||||
void SendNameQueryOpcode(ObjectGuid guid);
|
void SendNameQueryOpcode(ObjectGuid guid);
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess)
|
|||||||
WorldSession* pop_sess = m_QueuedPlayer.front();
|
WorldSession* pop_sess = m_QueuedPlayer.front();
|
||||||
pop_sess->SetInQueue(false);
|
pop_sess->SetInQueue(false);
|
||||||
pop_sess->ResetTimeOutTime(false);
|
pop_sess->ResetTimeOutTime(false);
|
||||||
pop_sess->SendAuthWaitQue(0);
|
pop_sess->SendAuthWaitQueue(0);
|
||||||
pop_sess->SendAccountDataTimes(GLOBAL_CACHE_MASK);
|
pop_sess->SendAccountDataTimes(GLOBAL_CACHE_MASK);
|
||||||
|
|
||||||
FinalizePlayerWorldSession(pop_sess);
|
FinalizePlayerWorldSession(pop_sess);
|
||||||
@@ -409,7 +409,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess)
|
|||||||
|
|
||||||
// update queue position from iter to end()
|
// update queue position from iter to end()
|
||||||
for (; iter != m_QueuedPlayer.end(); ++iter, ++position)
|
for (; iter != m_QueuedPlayer.end(); ++iter, ++position)
|
||||||
(*iter)->SendAuthWaitQue(position);
|
(*iter)->SendAuthWaitQueue(position);
|
||||||
|
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user