Core/Misc: reduced amount of string memory allocations (Step I)
This commit is contained in:
1 parent
ca85c3b475
commit
013fb1f4d9
91 files changed
+881
-890
No files matched your search
@@ -71,7 +71,7 @@ public:
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
Channel* channcel = NULL;
|
||||
|
||||
if (ChannelMgr* cMgr = channelMgr(player->GetTeam()))
|
||||
if (ChannelMgr* cMgr = ChannelMgr::forTeam(player->GetTeam()))
|
||||
channcel = cMgr->GetChannel(channelStr, player);
|
||||
|
||||
if (strcmp(argStr, "on") == 0)
|
||||
|
||||
Reference in new issue
Block a user