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:
Kitzunu
2021-09-19 18:44:27 +02:00
committed by GitHub
parent b79ae92a24
commit 5ceeeb0d98
3 changed files with 4 additions and 4 deletions

View File

@@ -751,7 +751,7 @@ void WorldSession::Handle_Deprecated(WorldPacket& recvPacket)
GetOpcodeNameForLogging(static_cast<OpcodeClient>(recvPacket.GetOpcode())).c_str(), GetPlayerInfo().c_str());
}
void WorldSession::SendAuthWaitQue(uint32 position)
void WorldSession::SendAuthWaitQueue(uint32 position)
{
if (position == 0)
{

View File

@@ -302,7 +302,7 @@ public:
bool Update(uint32 diff, PacketFilter& updater);
/// 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 SendNameQueryOpcode(ObjectGuid guid);

View File

@@ -395,7 +395,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess)
WorldSession* pop_sess = m_QueuedPlayer.front();
pop_sess->SetInQueue(false);
pop_sess->ResetTimeOutTime(false);
pop_sess->SendAuthWaitQue(0);
pop_sess->SendAuthWaitQueue(0);
pop_sess->SendAccountDataTimes(GLOBAL_CACHE_MASK);
FinalizePlayerWorldSession(pop_sess);
@@ -409,7 +409,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess)
// update queue position from iter to end()
for (; iter != m_QueuedPlayer.end(); ++iter, ++position)
(*iter)->SendAuthWaitQue(position);
(*iter)->SendAuthWaitQueue(position);
return found;
}