fix auto lock out of a group
This commit is contained in:
parent
d03c86efef
commit
b61bb53a1b
@ -3945,7 +3945,7 @@ void Spawn::CheckEncounterState(Entity* victim, bool test_auto_lock) {
|
||||
}
|
||||
world.GetGroupManager()->ReleaseGroupLock(__FUNCTION__, __LINE__);
|
||||
}
|
||||
else if (attacker->GetInfoStruct()->get_group_solo_autolock()) {
|
||||
else if (attacker->GetInfoStruct()->get_group_solo_autolock()|| attacker->GetInfoStruct()->get_group_autolock()) {
|
||||
matchedAutoLock = true;
|
||||
if (((NPC*)victim)->Brain()) {
|
||||
((NPC*)victim)->Brain()->AddHate(attacker, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user