mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Hotfix] Correct PR syntax issue https://github.com/EQEmu/Server/pull/1374
This commit is contained in:
+1
-1
@@ -551,7 +551,7 @@ void Mob::SetInvisible(uint8 state)
|
||||
// Invis and hide breaks charms
|
||||
auto formerpet = GetPet();
|
||||
if (formerpet && formerpet->GetPetType() == petCharmed && (invisible || hidden || improved_hidden || invisible_animals || invisible_undead)) {
|
||||
if (RuleB(Pets, LivelikeBreakCharmOnInvis) || IsInvisible(formerpet))
|
||||
if (RuleB(Pets, LivelikeBreakCharmOnInvis) || IsInvisible(formerpet)) {
|
||||
formerpet->BuffFadeByEffect(SE_Charm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user