Finally fixed AI attitude calculation. Due to the uninitialized variable, every turn the attitude of the AI changed to the minimum, which made the AI very aggressive towards the player. This bug turned out to be so obvious that it was decided to completely remove the option to enable the fix. This bug is fixed by default without any options.
Unlike the previous version of the patch, which originated somewhere in the deep history of this forum, and which completely cut off the change in the attitude, now the calculation of the attitude should be performed as it was intended by the algorithm