mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 23:08:21 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this == other) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
auto* r = GetRaid();
|
auto* r = GetRaid();
|
||||||
auto* rO = other->GetRaid();
|
auto* rO = other->GetRaid();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user