mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
add check for self on isingrouporraid
This commit is contained in:
@@ -9778,6 +9778,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