mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-20 14:28:26 +00:00
add check for self on isingrouporraid
This commit is contained in:
@@ -9777,6 +9777,10 @@ bool Mob::IsInGroupOrRaid(Mob *other, bool sameRaidGroup) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
|
||||
auto* r = GetRaid();
|
||||
auto* rO = other->GetRaid();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user