Core/WorldObject: Changed the way we store values

This commit is contained in:
hondacrx
2018-05-23 18:24:27 -04:00
parent 804b6a68e8
commit 4c11bda5ed
5 changed files with 73 additions and 103 deletions
@@ -220,7 +220,7 @@ namespace Game.Entities
_duration = newDuration;
// should be sent in object create packets only
UpdateData[(int)AreaTriggerFields.Duration] = _duration;
updateValues[(int)AreaTriggerFields.Duration].SignedValue = _duration;
}
float GetProgress()
@@ -597,7 +597,7 @@ namespace Game.Entities
_spline.initLengths();
// should be sent in object create packets only
UpdateData[(int)AreaTriggerFields.TimeToTarget] = timeToTarget;
updateValues[(int)AreaTriggerFields.TimeToTarget].UnsignedValue = timeToTarget;
if (IsInWorld)
{