Core/Common: Merge TimeTrackerSmall with TimeTracker

Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
This commit is contained in:
hondacrx
2022-03-02 14:06:04 -05:00
parent 7631b1c387
commit 712dd7b9de
18 changed files with 52 additions and 82 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ namespace Game.Entities
float[] m_powerFraction = new float[(int)PowerType.MaxPerClass];
int[] m_MirrorTimer = new int[3];
TimeTrackerSmall m_groupUpdateTimer;
TimeTracker m_groupUpdateTimer;
ulong m_GuildIdInvited;
DeclinedName _declinedname;
+1 -1
View File
@@ -612,7 +612,7 @@ namespace Game.Entities
}
// group update
m_groupUpdateTimer.Update((int)diff);
m_groupUpdateTimer.Update(diff);
if (m_groupUpdateTimer.Passed())
{
SendUpdateToOutOfRangeGroupMembers();