diff options
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 010af48e050..96f13891938 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -254,8 +254,9 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data ) data << uint8(0); // new 2.4.0 data << uint32( pzoneid ); // player zone id - // 49 is maximum player count sent to client - if ((++clientcount) == 49) + // 49 is maximum player count sent to client - can be overriden + // through config, but is unstable + if ((++clientcount) == sWorld.getConfig(CONFIG_MAX_WHO)) break; } |