Core: Updated to 10.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user