Core/DynamicInfo: rename some parameters according packet definitions

Port From (https://github.com/TrinityCore/TrinityCore/commit/5e178b30fab3506ee028554c116785a55e26a740)
This commit is contained in:
hondacrx
2022-01-07 10:50:34 -05:00
parent dee852d202
commit 131e2c7815
4 changed files with 57 additions and 57 deletions
@@ -1465,9 +1465,9 @@ namespace Game.AI
return false;
}
if (!CliDB.LightStorage.ContainsKey(e.Action.overrideLight.lightId))
if (!CliDB.LightStorage.ContainsKey(e.Action.overrideLight.overrideLightId))
{
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} uses non-existent lightId {e.Action.overrideLight.lightId}, skipped.");
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} uses non-existent overrideLightId {e.Action.overrideLight.overrideLightId}, skipped.");
return false;
}
@@ -3140,14 +3140,14 @@ namespace Game.AI
public struct OverrideLight
{
public uint zoneId;
public uint lightId;
public uint fadeInTime;
public uint overrideLightId;
public uint transitionMilliseconds;
}
public struct OverrideWeather
{
public uint zoneId;
public uint weatherId;
public uint weatherGrade;
public uint intensity;
}
public struct Conversation
{