mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 06:16:38 +00:00
[Bug Fix] Fix issue with IsEntOnHateList (#4097)
# Notes - We were not validating pointer in `IsEntOnHateList()`.
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ public:
|
||||
Mob *GetMobWithMostHateOnList(bool skip_mezzed = false);
|
||||
Mob *GetEscapingMobOnHateList(Mob *center, float range = 0.0f, bool first = false);
|
||||
|
||||
bool IsEntOnHateList(Mob *mob);
|
||||
bool IsEntOnHateList(Mob* m);
|
||||
bool IsHateListEmpty();
|
||||
bool RemoveEntFromHateList(Mob *ent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user