Misc fixes

This commit is contained in:
hondacrx
2024-02-06 22:12:17 -05:00
parent 19e7f86c26
commit 6abce678ca
14 changed files with 62 additions and 38 deletions
+5
View File
@@ -451,6 +451,11 @@ namespace Game
//Load weighted graph on taxi nodes path
TaxiPathGraph.Initialize();
// always use declined names in the russian client
var category = CliDB.CfgCategoriesStorage.LookupByKey(WorldConfig.GetUIntValue(WorldCfg.RealmZone));
if (category != null && category.GetCreateCharsetMask().HasFlag(CfgCategoriesCharsets.Russian))
WorldConfig.SetValue(WorldCfg.DeclinedNamesUsed, true);
MultiMap<uint, uint> mapData = new();
foreach (MapRecord mapEntry in CliDB.MapStorage.Values)
{