mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9324] Fix some gcc warnings
This commit is contained in:
parent
2a01c79609
commit
4338c9105d
27 changed files with 102 additions and 103 deletions
|
|
@ -317,7 +317,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess)
|
|||
--sessions;
|
||||
|
||||
// accept first in queue
|
||||
if( (!m_playerLimit || sessions < m_playerLimit) && !m_QueuedPlayer.empty() )
|
||||
if( (!m_playerLimit || (int32)sessions < m_playerLimit) && !m_QueuedPlayer.empty() )
|
||||
{
|
||||
WorldSession* pop_sess = m_QueuedPlayer.front();
|
||||
pop_sess->SetInQueue(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue