add check for self on isingrouporraid

This commit is contained in:
nytmyr committed 2024-12-12 22:13:27 -06:00
1 parent cd3cd9ef1a
commit 53c227a8b1
1 file changed
+4
+4
View File
@@ -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();