mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-28 07:56:24 +00:00
Fix spellid value to use forced enUS locale
This commit is contained in:
@@ -190,7 +190,7 @@ uint32 VehicleSpellIdValue::Calculate()
|
|||||||
char firstSymbol = tolower(namepart[0]);
|
char firstSymbol = tolower(namepart[0]);
|
||||||
int spellLength = wnamepart.length();
|
int spellLength = wnamepart.length();
|
||||||
|
|
||||||
int loc = bot->GetSession()->GetSessionDbcLocale();
|
const int loc = LocaleConstant::LOCALE_enUS;
|
||||||
|
|
||||||
Creature* creature = vehicleBase->ToCreature();
|
Creature* creature = vehicleBase->ToCreature();
|
||||||
for (uint32 x = 0; x < MAX_CREATURE_SPELLS; ++x)
|
for (uint32 x = 0; x < MAX_CREATURE_SPELLS; ++x)
|
||||||
|
|||||||
Reference in New Issue
Block a user