[Bug Fix] Fix data type of GetAggroCount() (#3470)

# Notes
- This is an `unsigned int`, not an `int`, so this fixes that.
This commit is contained in:
Alex King
2023-07-03 01:10:27 -04:00
committed by GitHub
parent a633784f78
commit dc28c8d485
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1347,7 +1347,7 @@ public:
bool CanEnterZone(const std::string& zone_short_name = "", int16 instance_version = -1);
int GetAggroCount();
uint32 GetAggroCount();
void IncrementAggroCount(bool raid_target = false);
void DecrementAggroCount();
void SendPVPStats();
@@ -1903,7 +1903,7 @@ private:
int8 last_reported_mana_percent;
int8 last_reported_endurance_percent;
unsigned int AggroCount; // How many mobs are aggro on us.
uint32 AggroCount; // How many mobs are aggro on us.
bool ooc_regen;
float AreaHPRegen;