Core/Misc: Fixed loading trinity_string
This commit is contained in:
1 parent
aab4ab166d
commit
acfaf2d182
1 file changed
+1
-1
@@ -7757,7 +7757,7 @@ bool ObjectMgr::LoadTrinityStrings(const char* table, int32 min_value, int32 max
|
||||
data.Content.resize(1);
|
||||
++count;
|
||||
|
||||
for (uint8 i = TOTAL_LOCALES - 1; i > 0; --i)
|
||||
for (int8 i = TOTAL_LOCALES - 1; i >= 0; --i)
|
||||
AddLocaleString(fields[i + 1].GetString(), LocaleConstant(i), data.Content);
|
||||
} while (result->NextRow());
|
||||
|
||||
|
||||
Reference in new issue
Block a user