Merge pull request #1548 from noudess/master

[Bug Fix] Fix bug where IVU could not be cast on char with Invis
This commit is contained in:
Paul Coene 2021-09-21 12:21:18 -04:00 committed by GitHub
commit ad3bf35397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,7 +582,6 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
snprintf(effect_desc, _EDLEN, "Invisibility to Animals"); snprintf(effect_desc, _EDLEN, "Invisibility to Animals");
#endif #endif
invisible_animals = true; invisible_animals = true;
SetInvisible(0);
break; break;
} }
@ -593,7 +592,6 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
snprintf(effect_desc, _EDLEN, "Invisibility to Undead"); snprintf(effect_desc, _EDLEN, "Invisibility to Undead");
#endif #endif
invisible_undead = true; invisible_undead = true;
SetInvisible(0);
break; break;
} }
case SE_SeeInvis: case SE_SeeInvis: