From 162229efe5c192bcb231a1a1a31a8f367db74e97 Mon Sep 17 00:00:00 2001 From: Atidot3 Date: Sat, 27 Jul 2024 10:20:55 +0200 Subject: [PATCH] Fix spellid value to use forced enUS locale --- src/strategy/values/SpellIdValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/values/SpellIdValue.cpp b/src/strategy/values/SpellIdValue.cpp index beb445f8..8cb8198f 100644 --- a/src/strategy/values/SpellIdValue.cpp +++ b/src/strategy/values/SpellIdValue.cpp @@ -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)