mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
revert(Core): ChrRace.dbc full implementation (#16114)
* revert (core): ChrRace.dbc full implementation we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that there is * revert * Update remove_charrace_dbc.sql * Update remove_charrace_dbc.sql * Update remove_charrace_dbc.sql
This commit is contained in:
@@ -2206,7 +2206,7 @@ void World::DetectDBCLang()
|
||||
uint8 default_locale = TOTAL_LOCALES;
|
||||
for (uint8 i = default_locale - 1; i < TOTAL_LOCALES; --i) // -1 will be 255 due to uint8
|
||||
{
|
||||
if (race->Name[i][0] != '\0') // check by race names
|
||||
if (race->name[i][0] != '\0') // check by race names
|
||||
{
|
||||
default_locale = i;
|
||||
_availableDbcLocaleMask |= (1 << i);
|
||||
|
||||
Reference in New Issue
Block a user