Fix spellid value to use forced enUS locale

This commit is contained in:
Atidot3
2024-07-27 10:20:55 +02:00
parent adf9924925
commit 162229efe5

View File

@@ -190,7 +190,7 @@ uint32 VehicleSpellIdValue::Calculate()
char firstSymbol = tolower(namepart[0]);
int spellLength = wnamepart.length();
int loc = bot->GetSession()->GetSessionDbcLocale();
const int loc = LocaleConstant::LOCALE_enUS;
Creature* creature = vehicleBase->ToCreature();
for (uint32 x = 0; x < MAX_CREATURE_SPELLS; ++x)