add check for self on isingrouporraid

This commit is contained in:
nytmyr
2024-11-28 00:56:55 -06:00
parent 6846bdc56c
commit d0033d4786
+4
View File
@@ -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();