mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +00:00
add check for self on isingrouporraid
This commit is contained in:
1 parent
cd3cd9ef1a
commit
53c227a8b1
1 file changed
+4
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user