mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix spellid value to use forced enUS locale
This commit is contained in:
parent
adf9924925
commit
162229efe5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user