Combat AI uses incorrect invisibility check
I'm using OpenMW 0.46 a381a1af. I have no idea if bug occurs in 0.45. In vanilla, as far as I remember, it only happened around 100% chameleon.
I have GOG English GOTY Morrowind.
Problem also occurs with almost no mods (no other mods than the birthsign mod giving chameleon).
To reproduce bug, make a 1% constant chameleon and attack creature or an npc from sneak.
I would expect it to discover the player and attack back - which happens if you have no chameleon at all - but instead it runs away.
I see no errors in openmw.log apart of couple of warnings.
It happened on many different creatures and NPCs.
Windows 10, April update.
Edited by Andrei Kortunov