mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-14 20:22:23 -04:00
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
This commit is contained in:
@@ -83,7 +83,7 @@ public:
|
||||
if (!channelEntry)
|
||||
continue;
|
||||
|
||||
if (strstr(channelEntry->Name->Str[handler->GetSessionDbcLocale()], channelStr))
|
||||
if (strstr(channelEntry->Name[handler->GetSessionDbcLocale()], channelStr))
|
||||
{
|
||||
channelId = i;
|
||||
break;
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
if (!entry)
|
||||
continue;
|
||||
|
||||
if (strstr(entry->AreaName->Str[handler->GetSessionDbcLocale()], channelStr))
|
||||
if (strstr(entry->AreaName[handler->GetSessionDbcLocale()], channelStr))
|
||||
{
|
||||
zoneEntry = entry;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user