Core: Updated to 10.2.5

Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
This commit is contained in:
hondacrx
2024-02-06 13:07:17 -05:00
parent 1d13b710f9
commit d1ad9f662e
23 changed files with 1457 additions and 1337 deletions
+2 -2
View File
@@ -993,7 +993,7 @@ namespace Game
// start with every map explored
if (WorldConfig.GetBoolValue(WorldCfg.StartAllExplored))
{
for (uint i = 0; i < PlayerConst.ExploredZonesSize; i++)
for (int i = 0; i < PlayerConst.ExploredZonesSize; i++)
pCurrChar.AddExploredZones(i, 0xFFFFFFFFFFFFFFFF);
}
@@ -1385,7 +1385,7 @@ namespace Game
{
if (packet.CustomizedChrModelID != 0)
{
var conditionalChrModel = CliDB.ConditionalChrModelStorage.LookupByKey(packet.CustomizedChrModelID);
var conditionalChrModel = Global.DB2Mgr.GetConditionalChrModel(packet.CustomizedChrModelID);
if (conditionalChrModel == null)
return;