Skip to content
Permalink
Browse files

Core/DB: Fixed CastBarCaption localization data loading from DB

Co-Authored-By: Crypticaz <crypticaz@users.noreply.github.com>
  • Loading branch information...
AbraKabastard and Crypticaz committed May 22, 2019
1 parent 768674d commit 14a7882f64991960414998928db4b1e673944477
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/game/ObjectMgr.cpp
@@ -5802,9 +5802,9 @@ void ObjectMgr::LoadGameObjectLocales()
}
}

for (uint8 i = MAX_LOCALE; i < MAX_LOCALE * 2 - 1; ++i)
for (uint8 i = 1; i < MAX_LOCALE; ++i)
{
std::string str = fields[i].GetCppString();
std::string str = fields[i + (MAX_LOCALE - 1)].GetCppString();
if (!str.empty())
{
int idx = GetOrNewIndexForLocale(LocaleConstant(i));

0 comments on commit 14a7882

Please sign in to comment.
You can’t perform that action at this time.