add check for self on isingrouporraid

This commit is contained in:
nytmyr
2024-11-28 00:56:55 -06:00
parent cd3cd9ef1a
commit 53c227a8b1
+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();