mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Comment for threadsafe
This commit is contained in:
parent
4e64745861
commit
360dc27c9c
@ -151,6 +151,9 @@ bool LfgJoinAction::JoinLFG()
|
|||||||
// Set RbotAId Browser comment
|
// Set RbotAId Browser comment
|
||||||
std::string const _gs = std::to_string(botAI->GetEquipGearScore(bot, false, false));
|
std::string const _gs = std::to_string(botAI->GetEquipGearScore(bot, false, false));
|
||||||
|
|
||||||
|
// JoinLfg is not threadsafe, so make packet and queue into session
|
||||||
|
// sLFGMgr->JoinLfg(bot, roleMask, list, _gs);
|
||||||
|
|
||||||
WorldPacket* data = new WorldPacket(CMSG_LFG_JOIN);
|
WorldPacket* data = new WorldPacket(CMSG_LFG_JOIN);
|
||||||
*data << (uint32)roleMask;
|
*data << (uint32)roleMask;
|
||||||
*data << (bool)false;
|
*data << (bool)false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user