Core/Common: Merge TimeTrackerSmall with TimeTracker
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -612,7 +612,7 @@ namespace Game.Entities
|
||||
}
|
||||
|
||||
// group update
|
||||
m_groupUpdateTimer.Update((int)diff);
|
||||
m_groupUpdateTimer.Update(diff);
|
||||
if (m_groupUpdateTimer.Passed())
|
||||
{
|
||||
SendUpdateToOutOfRangeGroupMembers();
|
||||
|
||||
Reference in New Issue
Block a user