add check for self on isingrouporraid

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