Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection

This commit is contained in:
Shauren
2020-06-27 13:33:17 +02:00
parent eccc015ce7
commit deca201f77
38 changed files with 333 additions and 380 deletions

View File

@@ -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;